]> Pileus Git - ~andy/gtk/blobdiff - tests/testgtk.c
Deprecate flag macros for toplevel, state, no window and composite child
[~andy/gtk] / tests / testgtk.c
index aa727e7dbea9959b5018f5531b237fa592e0a3f6..e8b49b565a17b1d2245fc8e6e5ebe42eacf6049c 100644 (file)
@@ -12106,7 +12106,7 @@ find_widget (GtkWidget *widget, FindWidgetData *data)
    * but within the allocation are not counted. This is consistent
    * with the way we highlight drag targets.
    */
-  if (!GTK_WIDGET_NO_WINDOW (widget))
+  if (gtk_widget_get_has_window (widget))
     {
       new_allocation.x = 0;
       new_allocation.y = 0;