diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:47:38 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:52:07 +0100 |
commit | 214a023e9160fa008db069f5ec10ce3a4999a4dc (patch) | |
tree | ad2e3c48e95a3264903ef29b9e12e88ffdfed0bc /modules/other/gail/gailoptionmenu.c | |
parent | 4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (diff) | |
download | gtk+-214a023e9160fa008db069f5ec10ce3a4999a4dc.tar.gz |
Deprecate widget flag: GTK_WIDGET_VISIBLE
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'modules/other/gail/gailoptionmenu.c')
-rw-r--r-- | modules/other/gail/gailoptionmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/other/gail/gailoptionmenu.c b/modules/other/gail/gailoptionmenu.c index a26325a432..680ab20de3 100644 --- a/modules/other/gail/gailoptionmenu.c +++ b/modules/other/gail/gailoptionmenu.c @@ -212,7 +212,7 @@ gail_option_menu_do_action (AtkAction *action, */ return FALSE; - if (!gtk_widget_get_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) + if (!gtk_widget_get_sensitive (widget) || !gtk_widget_get_visible (widget)) return FALSE; switch (i) @@ -243,7 +243,7 @@ idle_do_action (gpointer data) widget = GTK_ACCESSIBLE (gail_button)->widget; if (widget == NULL /* State is defunct */ || - !gtk_widget_get_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) + !gtk_widget_get_sensitive (widget) || !gtk_widget_get_visible (widget)) return FALSE; button = GTK_BUTTON (widget); |