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

https://bugzilla.gnome.org/show_bug.cgi?id=69872
This commit is contained in:
Javier Jardón 2010-03-06 12:29:26 +01:00 committed by Tristan Van Berkom
parent a602ff82eb
commit 5c2c742c8d

View File

@ -6087,9 +6087,9 @@ gtk_widget_set_app_paintable (GtkWidget *widget,
if (gtk_widget_get_app_paintable (widget) != app_paintable)
{
if (app_paintable)
GTK_WIDGET_SET_FLAGS (widget, GTK_APP_PAINTABLE);
GTK_OBJECT_FLAGS (widget) |= GTK_APP_PAINTABLE;
else
GTK_WIDGET_UNSET_FLAGS (widget, GTK_APP_PAINTABLE);
GTK_OBJECT_FLAGS (widget) &= ~(GTK_APP_PAINTABLE);
if (gtk_widget_is_drawable (widget))
gtk_widget_queue_draw (widget);