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/gtkrecentchooserdefault.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/gtkrecentchooserdefault.c')
-rw-r--r-- | gtk/gtkrecentchooserdefault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c index 942da3e2cc..7cae6898f1 100644 --- a/gtk/gtkrecentchooserdefault.c +++ b/gtk/gtkrecentchooserdefault.c @@ -748,7 +748,7 @@ set_busy_cursor (GtkRecentChooserDefault *impl, GdkCursor *cursor; toplevel = get_toplevel (GTK_WIDGET (impl)); - if (!toplevel || !GTK_WIDGET_REALIZED (toplevel)) + if (!toplevel || !gtk_widget_get_realized (GTK_WIDGET (toplevel))) return; display = gtk_widget_get_display (GTK_WIDGET (toplevel)); @@ -1837,7 +1837,7 @@ popup_position_func (GtkMenu *menu, gint monitor_num; GdkRectangle monitor; - if (G_UNLIKELY (!GTK_WIDGET_REALIZED (widget))) + if (G_UNLIKELY (!gtk_widget_get_realized (widget))) return; gdk_window_get_origin (widget->window, x, y); |