Re: gtk_grab_add giving Gdk-CRITICAL



---------- Original Message ----------
To:  (gtk-app-devel-list gnome org)
From: Matthew Allen (list sydneyband com au)
Subject: gtk_grab_add giving Gdk-CRITICAL
Date: 20/9/2010 1:44:03p

The gtk_grab_add asserts with:

      Gdk-CRITICAL **: gdk_window_get_window_type: assertion `GDK_IS_WINDOW
(window)' failed.

After moving the grab to after the window is mapped the error has gone away. It's a shame Gtk can't just 
remember that the app wants to grab the window and do the grab when the map event comes through (in the case 
that gtk_grab_add is called pre-map).
--
Matthew Allen
http://www.memecode.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]