mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Don't use GTK_WIDGET_SET_FLAGS() in gtk_widget_init()
This commit is contained in:
parent
691c13c424
commit
72948f46bd
@ -2829,11 +2829,10 @@ gtk_widget_init (GtkWidget *widget)
|
|||||||
widget->window = NULL;
|
widget->window = NULL;
|
||||||
widget->parent = NULL;
|
widget->parent = NULL;
|
||||||
|
|
||||||
GTK_WIDGET_SET_FLAGS (widget,
|
GTK_OBJECT_FLAGS (widget) |= GTK_SENSITIVE;
|
||||||
GTK_SENSITIVE |
|
GTK_OBJECT_FLAGS (widget) |= GTK_PARENT_SENSITIVE;
|
||||||
GTK_PARENT_SENSITIVE |
|
GTK_OBJECT_FLAGS (widget) |= composite_child_stack ? GTK_COMPOSITE_CHILD : 0;
|
||||||
(composite_child_stack ? GTK_COMPOSITE_CHILD : 0) |
|
gtk_widget_set_double_buffered (widget, TRUE);
|
||||||
GTK_DOUBLE_BUFFERED);
|
|
||||||
|
|
||||||
GTK_PRIVATE_SET_FLAG (widget, GTK_REDRAW_ON_ALLOC);
|
GTK_PRIVATE_SET_FLAG (widget, GTK_REDRAW_ON_ALLOC);
|
||||||
GTK_PRIVATE_SET_FLAG (widget, GTK_REQUEST_NEEDED);
|
GTK_PRIVATE_SET_FLAG (widget, GTK_REQUEST_NEEDED);
|
||||||
|
Loading…
Reference in New Issue
Block a user