aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/ea-calendar-cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/ea-calendar-cell.c')
-rw-r--r--widgets/misc/ea-calendar-cell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/ea-calendar-cell.c b/widgets/misc/ea-calendar-cell.c
index 05d0dcce6b..8728f49a46 100644
--- a/widgets/misc/ea-calendar-cell.c
+++ b/widgets/misc/ea-calendar-cell.c
@@ -378,7 +378,7 @@ component_interface_grab_focus (AtkComponent *component)
gtk_widget_grab_focus (GTK_WIDGET (GNOME_CANVAS_ITEM (calitem)->canvas));
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (GNOME_CANVAS_ITEM (calitem)->canvas));
- if (toplevel && GTK_WIDGET_TOPLEVEL (toplevel))
+ if (toplevel && gtk_widget_is_toplevel (toplevel))
gtk_window_present (GTK_WINDOW (toplevel));
return TRUE;