diff options
Diffstat (limited to 'calendar/gui/ea-gnome-calendar.c')
-rw-r--r-- | calendar/gui/ea-gnome-calendar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/ea-gnome-calendar.c b/calendar/gui/ea-gnome-calendar.c index 73dae8f891..52798c99f0 100644 --- a/calendar/gui/ea-gnome-calendar.c +++ b/calendar/gui/ea-gnome-calendar.c @@ -261,6 +261,7 @@ ea_gnome_calendar_ref_child (AtkObject *obj, gint i) GnomeCalendar * calendarWidget; GnomeCalendarViewType view_type; ECalendarView *view; + ECalendar *date_navigator; GtkWidget *childWidget; g_return_val_if_fail (EA_IS_GNOME_CALENDAR (obj), NULL); @@ -283,7 +284,8 @@ ea_gnome_calendar_ref_child (AtkObject *obj, gint i) break; case 1: /* for calendar */ - childWidget = gnome_calendar_get_e_calendar_widget (calendarWidget); + date_navigator = gnome_calendar_get_date_navigator (calendarWidget); + childWidget = GTK_WIDGET (date_navigator); child = gtk_widget_get_accessible (childWidget); break; default: |