]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktree.c
Deprecate widget flag: GTK_WIDGET_REALIZED
[~andy/gtk] / gtk / gtktree.c
index 8878ff6aa76ff271779587b07a5442dfe24ecde4..f3e6f7f36dab0c1c77013e5dbe7206bd3c2806fb 100644 (file)
@@ -849,7 +849,7 @@ gtk_tree_size_allocate (GtkWidget     *widget,
   tree = GTK_TREE (widget);
   
   widget->allocation = *allocation;
-  if (GTK_WIDGET_REALIZED (widget))
+  if (gtk_widget_get_realized (widget))
     gdk_window_move_resize (widget->window,
                            allocation->x, allocation->y,
                            allocation->width, allocation->height);