diff options
Diffstat (limited to 'calendar/gui/ea-day-view-cell.c')
-rw-r--r-- | calendar/gui/ea-day-view-cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/ea-day-view-cell.c b/calendar/gui/ea-day-view-cell.c index 0b0b7a75c5..6760b7cc42 100644 --- a/calendar/gui/ea-day-view-cell.c +++ b/calendar/gui/ea-day-view-cell.c @@ -389,7 +389,7 @@ component_interface_grab_focus (AtkComponent *comp) gtk_widget_queue_draw (day_view->main_canvas); toplevel = gtk_widget_get_toplevel (GTK_WIDGET (day_view)); - if (GTK_WIDGET_TOPLEVEL (toplevel)) + if (gtk_widget_is_toplevel (toplevel)) gtk_window_present (GTK_WINDOW (toplevel)); return TRUE; |