diff options
Diffstat (limited to 'modules/other/gail/gailbutton.c')
-rw-r--r-- | modules/other/gail/gailbutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/other/gail/gailbutton.c b/modules/other/gail/gailbutton.c index d4fcf4dc87..3a1ac3d468 100644 --- a/modules/other/gail/gailbutton.c +++ b/modules/other/gail/gailbutton.c @@ -459,7 +459,7 @@ gail_button_do_action (AtkAction *action, */ return FALSE; - if (!gtk_widget_is_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) + if (!gtk_widget_is_sensitive (widget) || !gtk_widget_get_visible (widget)) return FALSE; button = GAIL_BUTTON (action); @@ -505,7 +505,7 @@ idle_do_action (gpointer data) g_object_ref (gail_button); if (widget == NULL /* State is defunct */ || - !gtk_widget_is_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) + !gtk_widget_is_sensitive (widget) || !gtk_widget_get_visible (widget)) { g_object_unref (gail_button); return FALSE; |