Commit 5c2c742c authored by Javier Jardon's avatar Javier Jardon Committed by Tristan Van Berkom
Browse files

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

https://bugzilla.gnome.org/show_bug.cgi?id=69872
parent a602ff82
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment