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 committed by Tristan Van Berkom
parent 9f3d23a900
commit bbf5e95c41

View File

@ -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))
{