summaryrefslogtreecommitdiff
path: root/modules/other/gail/gail.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-02 05:19:28 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-03 20:19:03 +0100
commit1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (patch)
tree6e161718bd71eaec8c358f9eb83c2a40c9835278 /modules/other/gail/gail.c
parentf4d9c7be2b8d76c720ae8c38ca27f7618f5bf029 (diff)
downloadgdk-pixbuf-1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988.tar.gz
Deprecate widget flag: GTK_WIDGET_MAPPED
Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'modules/other/gail/gail.c')
-rw-r--r--modules/other/gail/gail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/other/gail/gail.c b/modules/other/gail/gail.c
index 48a33d86a..133952c2b 100644
--- a/modules/other/gail/gail.c
+++ b/modules/other/gail/gail.c
@@ -348,7 +348,7 @@ gail_select_watcher (GSignalInvocationHint *ihint,
widget = GTK_WIDGET (object);
- if (!GTK_WIDGET_MAPPED (widget))
+ if (!gtk_widget_get_mapped (widget))
{
g_signal_connect (widget, "map",
G_CALLBACK (gail_map_cb),
@@ -369,7 +369,7 @@ gail_finish_select (GtkWidget *widget)
menu_item = GTK_MENU_ITEM (widget);
if (menu_item->submenu &&
- !GTK_WIDGET_MAPPED (menu_item->submenu))
+ !gtk_widget_get_mapped (menu_item->submenu))
{
/*
* If the submenu is not visble, wait until it is before