]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkclist.c
Deprecate flag macros for toplevel, state, no window and composite child
[~andy/gtk] / gtk / gtkclist.c
index 7d7aec55b48ddcd107af547c2c329e02f33e7b79..f3e93d81048c5c9b42dbfd23272026f397743205 100644 (file)
@@ -6149,7 +6149,7 @@ typedef struct
 
 /* The window to which widget->window is relative */
 #define ALLOCATION_WINDOW(widget)              \
-   (GTK_WIDGET_NO_WINDOW (widget) ?            \
+   (!gtk_widget_get_has_window (widget) ?              \
     (widget)->window :                          \
      gdk_window_get_parent ((widget)->window))