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 and right click on the icon,then infinite warnings(the same) reported:
GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member.
GLib-WARNING **: g_main_context_prepare() called recursively from within a source's check() or prepare() member.
GLib-WARNING **: g_main_context_check() called recursively from within a source's check() or prepare() member.
....
Anyone knows how to fix this warning?
UPDATE
This problem also exists with gtk-demo
, is it a gtk bug? Can someone verify that?
Platform: windows XP
UPDATE2
I found someone had the same issue:
http://www.dsource.org/forums/viewtopic.php?t=5179&sid=0368cec966f5a135506cf99b24ec5030