Hello there
- From: stian nixia no
 
- To: gtk-list gnome org
 
- Subject: Hello there
 
- Date: Mon, 31 Jan 2005 08:32:15 +0100 (CET)
 
You probably hate threading questions by know, so bare with me.
Are you supposed to use gdk_threads_enter() and gdk_threads_leave from
within a glib callback?
I have this code
static gboolean pollin(GIOChannel *source,
                       GIOCondition condition,
                       gpointer data)
{
<snip>
gdk_threads_enter();
.... do some stuff to a GtkListStore to append some info the source gave me
gdk_threads_leave();   <- here it hangs
return TRUE;
}
I'm now recompiling glibc, glib and gtk in order to get symbols in gdb,
back-traces.
Stian Skjelstad aka mw|
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]