From 16a59ad9129c680833c584768e6a81b2ba365268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 2 Mar 2010 07:16:02 +0100 Subject: Deprecate widget flag: GTK_WIDGET_REALIZED Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872 --- gtk/gtkfixed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkfixed.c') diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 05a5a1e0f0..c915bb427a 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -354,7 +354,7 @@ gtk_fixed_size_allocate (GtkWidget *widget, if (gtk_widget_get_has_window (widget)) { - if (GTK_WIDGET_REALIZED (widget)) + if (gtk_widget_get_realized (widget)) gdk_window_move_resize (widget->window, allocation->x, allocation->y, @@ -474,7 +474,7 @@ gtk_fixed_set_has_window (GtkFixed *fixed, gboolean has_window) { g_return_if_fail (GTK_IS_FIXED (fixed)); - g_return_if_fail (!GTK_WIDGET_REALIZED (fixed)); + g_return_if_fail (!gtk_widget_get_realized (GTK_WIDGET (fixed))); if (has_window != gtk_widget_get_has_window (GTK_WIDGET (fixed))) { -- cgit v1.2.1