gtk errors "!GTK_WIDGET_REALIZED (widget) failed




when trying to:

GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen);
gtk_widget_set_colormap(widget, colormap);

This is literally as complicated as my program is. Create a window (using
libglade), setup callbacks, apply colormap.

What does this mean? Is there a web page somewhere with an explanation of
such errors?
The full error message is:

Gtk-Critical **: gtk_widget_set_colormap: assertion '!GTK_WIDGET_REALIZED
(widget)' failed
-- 
View this message in context: 
http://www.nabble.com/gtk-errors-%22%21GTK_WIDGET_REALIZED-%28widget%29-failed-tf3460522.html#a9655008
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.




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