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:
Javier Jardón 2010-03-06 13:13:01 +01:00
parent a7efb2eaa0
commit 691c13c424

View File

@ -9169,9 +9169,9 @@ gtk_widget_propagate_state (GtkWidget *widget,
if (data->parent_sensitive) if (data->parent_sensitive)
GTK_WIDGET_SET_FLAGS (widget, GTK_PARENT_SENSITIVE); GTK_OBJECT_FLAGS (widget) |= GTK_PARENT_SENSITIVE;
else else
GTK_WIDGET_UNSET_FLAGS (widget, GTK_PARENT_SENSITIVE); GTK_OBJECT_FLAGS (widget) &= ~(GTK_PARENT_SENSITIVE);
if (gtk_widget_is_sensitive (widget)) if (gtk_widget_is_sensitive (widget))
{ {