Gtk--: recent changes with GTK_OBJECT_CONSTRUCTED ??





Hi,

some code that used to work for quite a while without problems is partially
broken
since my latest upgrade to Gtk+ 1.1.16 and Gtk-- 0.11.2. I have some dialog
boxes
that override the delete_impl method with the following code:
     this->hide();
     return;

This used to work fine (it still works), but now gives me the following
error/warning:

Gtk-CRITICAL **: file gtkwidget.c: line 1388 (gtk_widget_destroy):
assertion `GTK_OBJECT_CONSTRUCTED (widget)' failed.


I've looked in the gtk+ sources but can't really figure out what this flag is
used for . Could
anybody please tell me what changed here recently or at least give me a short
pointer
on what this flag does and how it's used?

Thanks a lot
--> Robert




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