Hi folks,

i'm using g_io_add_watch like this:

/* SNIP */
guint result;
result = g_io_add_watch(io_chan, G_IO_IN, (GIOFunc) refresh, NULL);
g_source_set_can_recurse(g_main_context_find_source_by_id(NULL, result),
FALSE);
/* SNAP */

I'm using "g_source_set_can_recurse" because I don't want that refresh()
is called while this function is executed...but this doesn't seem to
work. Is there any other way to suspend the call of "refresh()" or what
am I doing wrong here?

Regards, rw


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to