mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 01:00:28 +00:00
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_PARENT_SENSITIVE)
https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
parent
a7efb2eaa0
commit
691c13c424
@ -9169,9 +9169,9 @@ gtk_widget_propagate_state (GtkWidget *widget,
|
||||
|
||||
|
||||
if (data->parent_sensitive)
|
||||
GTK_WIDGET_SET_FLAGS (widget, GTK_PARENT_SENSITIVE);
|
||||
GTK_OBJECT_FLAGS (widget) |= GTK_PARENT_SENSITIVE;
|
||||
else
|
||||
GTK_WIDGET_UNSET_FLAGS (widget, GTK_PARENT_SENSITIVE);
|
||||
GTK_OBJECT_FLAGS (widget) &= ~(GTK_PARENT_SENSITIVE);
|
||||
|
||||
if (gtk_widget_is_sensitive (widget))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user