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/gtkselection.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/gtkselection.c')
-rw-r--r-- | gtk/gtkselection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index cfec07df8e..cbc2b3ec35 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -660,7 +660,7 @@ gtk_selection_owner_set_for_display (GdkDisplay *display, g_return_val_if_fail (GDK_IS_DISPLAY (display), FALSE); g_return_val_if_fail (selection != GDK_NONE, FALSE); - g_return_val_if_fail (widget == NULL || GTK_WIDGET_REALIZED (widget), FALSE); + g_return_val_if_fail (widget == NULL || gtk_widget_get_realized (widget), FALSE); g_return_val_if_fail (widget == NULL || gtk_widget_get_display (widget) == display, FALSE); if (widget == NULL) @@ -754,7 +754,7 @@ gtk_selection_owner_set (GtkWidget *widget, { GdkDisplay *display; - g_return_val_if_fail (widget == NULL || GTK_WIDGET_REALIZED (widget), FALSE); + g_return_val_if_fail (widget == NULL || gtk_widget_get_realized (widget), FALSE); g_return_val_if_fail (selection != GDK_NONE, FALSE); if (widget) @@ -1032,7 +1032,7 @@ gtk_selection_convert (GtkWidget *widget, if (initialize) gtk_selection_init (); - if (!GTK_WIDGET_REALIZED (widget)) + if (!gtk_widget_get_realized (widget)) gtk_widget_realize (widget); /* Check to see if there are already any retrievals in progress for |