Infinite gtk warnings when I right click on the icon

Posted by Runner on Stack Overflow See other posts from Stack Overflow or by Runner
Published on 2010-05-02T12:02:16Z Indexed on 2010/05/02 12:07 UTC
Read the original article Hit count: 157

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about c

    Related posts about gtk