forked from AuroraMiddleware/gtk
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
9f3d23a900
commit
bbf5e95c41
@ -9184,9 +9184,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