Infinite gtk warnings when I right click on the icon
- by Runner
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.
Anyone knows how to fix this warning?