mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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:
parent
015c1052ae
commit
db628b3ca0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user