Thanks I made the adjustment. It's always good to be on the safe side :) Ta Julien ---------------------------------------- > From: artur-pub@xxxxxxxxx > To: julien_bramary@xxxxxxx > CC: gtk-list@xxxxxxxxx > Subject: Re: GtkMenu question > Date: Mon, 14 Dec 2009 11:39:26 +0300 > > 14.12.09, 07:50, "Julien Bramary" : >> It works! >> ... >> static void choose_deactivate_handler(void *GtkWidget, gpointer value) { >> g_idle_add(idle_chooser, NULL); >> } > > Nice! > Small note: you may call g_idle_add_full(G_PRIORITY_HIGH, idle_chooser, NULL, NULL) to ensure no other idle is executing between your iterations. > > http://library.gnome.org/devel/glib/stable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH:CAPS > > -- > Artur _________________________________________________________________ Windows Live: Keep your friends up to date with what you do online. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010 _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list