From: Sebastian B. <sb...@us...> - 2013-12-24 09:16:40
|
Update of /cvsroot/simplemail/simplemail/gtk In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31627/gtk Modified Files: subthreads.c Log Message: The mutexes and conds are not needed for the push functions. So don't instanciate them. Index: subthreads.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/gtk/subthreads.c,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- subthreads.c 24 Dec 2013 09:16:07 -0000 1.42 +++ subthreads.c 24 Dec 2013 09:16:38 -0000 1.43 @@ -519,11 +519,6 @@ data->function = (int (*)(void))function; data->argcount = argcount; - data->sync_cond = g_cond_new(); - data->sync_mutex = g_mutex_new(); - - assert(data->sync_cond); - assert(data->sync_mutex); for (i=0; i < argcount; i++) data->arg[i] = va_arg(argptr, void *); @@ -558,11 +553,6 @@ data->function = (int (*)(void))function; data->argcount = argcount; - data->sync_cond = g_cond_new(); - data->sync_mutex = g_mutex_new(); - - assert(data->sync_cond); - assert(data->sync_mutex); for (i=0; i < argcount; i++) data->arg[i] = va_arg(argptr, void *); |