diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-02 07:16:02 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-03 20:41:05 +0100 |
commit | 16a59ad9129c680833c584768e6a81b2ba365268 (patch) | |
tree | 8fb157b75372c73767d658bce9a6070a3d936fe9 /gtk/gtkwin32embedwidget.c | |
parent | 1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (diff) | |
download | gtk+-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/gtkwin32embedwidget.c')
-rw-r--r-- | gtk/gtkwin32embedwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwin32embedwidget.c b/gtk/gtkwin32embedwidget.c index 1c28eb4fe2..7604923bb3 100644 --- a/gtk/gtkwin32embedwidget.c +++ b/gtk/gtkwin32embedwidget.c @@ -197,7 +197,7 @@ gtk_win32_embed_widget_realize (GtkWidget *widget) _gtk_container_queue_resize (GTK_CONTAINER (widget)); - g_return_if_fail (!GTK_WIDGET_REALIZED (widget)); + g_return_if_fail (!gtk_widget_get_realized (widget)); } GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED); @@ -292,7 +292,7 @@ gtk_win32_embed_widget_size_allocate (GtkWidget *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); |