In gtk_widget_init, set the flags _on_top_of_ those for

GTK_OBJECT, to avoid clearing the FLOATING flag.
living_objects == 0!
This commit is contained in:
Owen Taylor 1998-01-31 02:28:43 +00:00
parent 015c1052ae
commit db628b3ca0

View File

@ -881,7 +881,7 @@ gtk_widget_init (GtkWidget *widget)
GdkColormap *colormap;
GdkVisual *visual;
GTK_OBJECT_FLAGS (widget) = GTK_SENSITIVE | GTK_PARENT_SENSITIVE;
GTK_WIDGET_SET_FLAGS (widget, GTK_SENSITIVE | GTK_PARENT_SENSITIVE);
widget->state = GTK_STATE_NORMAL;
widget->saved_state = GTK_STATE_NORMAL;
widget->name = NULL;