Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_SENSITIVE)

This commit is contained in:
Javier Jardón 2010-03-01 18:24:28 +01:00 committed by Tristan Van Berkom
parent 5d4af6ca80
commit 2d96f39335

View File

@ -6240,12 +6240,12 @@ gtk_widget_set_sensitive (GtkWidget *widget,
if (sensitive)
{
GTK_WIDGET_SET_FLAGS (widget, GTK_SENSITIVE);
GTK_OBJECT_FLAGS (widget) |= GTK_SENSITIVE;
data.state = widget->saved_state;
}
else
{
GTK_WIDGET_UNSET_FLAGS (widget, GTK_SENSITIVE);
GTK_OBJECT_FLAGS (widget) &= ~(GTK_SENSITIVE);
data.state = GTK_WIDGET_STATE (widget);
}
data.state_restoration = TRUE;