summaryrefslogtreecommitdiff
path: root/modules/other/gail/gailtoplevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/other/gail/gailtoplevel.c')
-rw-r--r--modules/other/gail/gailtoplevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/other/gail/gailtoplevel.c b/modules/other/gail/gailtoplevel.c
index c8ac919011..7f458fbd82 100644
--- a/modules/other/gail/gailtoplevel.c
+++ b/modules/other/gail/gailtoplevel.c
@@ -94,7 +94,7 @@ gail_toplevel_init (GailToplevel *toplevel)
window = GTK_WINDOW (l->data);
widget = GTK_WIDGET (window);
if (!window ||
- !GTK_WIDGET_VISIBLE (widget) ||
+ !gtk_widget_get_visible (widget) ||
is_attached_menu_window (widget) ||
GTK_WIDGET (window)->parent ||
GTK_IS_PLUG (window))