> (<unknown>:20080): GLib-WARNING **: g_main_context_check() called > recursively from within a source's check() or prepare() member. > > (<unknown>:20080): GLib-WARNING **: g_main_context_prepare() called > recursively from within a source's check() or prepare() member. Read the thread section of the gtk api and the usage of gdk_threads_enter() and gdk_threads_leave() and that you have to init gthreads BEFORE gtk. Another approach could be not to init gtk in the main-program, but when an event occure, fork, and let the child do some logging, init gtk, popup a window, and when window close, just let the child die. Stian Skjelstad _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list