]> Pileus Git - ~andy/gtk/commitdiff
Use an acessor function instead of a deprecated macro
authorJonh Wendell <jwendell@gnome.org>
Fri, 20 Aug 2010 17:11:05 +0000 (14:11 -0300)
committerJonh Wendell <jwendell@gnome.org>
Fri, 20 Aug 2010 17:11:05 +0000 (14:11 -0300)
gtk/gtkwidget.c

index e0f475cc1f20268821da6641ea19c446398fca34..5bdd0a9c89c7823a0e16ea15cc233c8563df3da9 100644 (file)
@@ -3711,7 +3711,7 @@ gtk_widget_queue_draw (GtkWidget *widget)
 
   gtk_widget_get_allocation (widget, &rect);
 
-  if (GTK_WIDGET_NO_WINDOW (widget))
+  if (!gtk_widget_get_has_window (widget))
     gtk_widget_queue_draw_area (widget,
                                 rect.x, rect.y, rect.width, rect.height);
   else