From this tuto :
#include <gtk/gtk.h> int main( int argc, char *argv[]) { GtkWidget *window; gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_show(window); gtk_main(); return 0; }
I run the executable file and right-click on the icon, after which endless warnings are sent (the same ones):
GLib-WARNING **: g_main_context_check() called recursively from within a source check() or prepare() member. GLib-WARNING **: g_main_context_prepare() called recursively from within a source check() or prepare() member. GLib-WARNING **: g_main_context_check() called recursively from within a source check() or prepare() member. ....
Does anyone know how to fix this warning?
UPDATE
This problem also exists with gtk-demo , is it a gtk error? Can anyone check this out?
Platform: Windows XP
UPDATE2
I found that someone had the same problem:
http://www.dsource.org/forums/viewtopic.php?t=5179&sid=0368cec966f5a135506cf99b24ec5030
Gtker source share