summaryrefslogtreecommitdiff
path: root/gtk/gtkfixed.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-02 07:16:02 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-03 20:41:05 +0100
commit16a59ad9129c680833c584768e6a81b2ba365268 (patch)
tree8fb157b75372c73767d658bce9a6070a3d936fe9 /gtk/gtkfixed.c
parent1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (diff)
downloadgtk+-16a59ad9129c680833c584768e6a81b2ba365268.tar.gz
Deprecate widget flag: GTK_WIDGET_REALIZED
Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r--gtk/gtkfixed.c4
1 files changed, 2 insertions, 2 deletions
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)))
{