From ce1cd2b1ae0906ad56add2a737a4591af21c8acd Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Sat, 10 Jan 2004 20:22:08 +0000 Subject: cast the views to E_CALENDAR_VIEW, not to E_CAL_VIEW. 2004-01-10 Rodrigo Moya * gui/gnome-cal.c (open_ecal): cast the views to E_CALENDAR_VIEW, not to E_CAL_VIEW. svn path=/trunk/; revision=24148 --- calendar/gui/gnome-cal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index d03354331e..1ae884d38d 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1753,7 +1753,7 @@ open_ecal (GnomeCalendar *gcal, ECal *cal, gboolean only_if_exists) GError *error = NULL; msg = g_strdup_printf (_("Opening %s"), e_cal_get_uri (cal)); - e_calendar_view_set_status_message (E_CAL_VIEW (gnome_calendar_get_current_view_widget (gcal)), msg); + e_calendar_view_set_status_message (E_CALENDAR_VIEW (gnome_calendar_get_current_view_widget (gcal)), msg); g_free (msg); retval = e_cal_open (cal, only_if_exists, &error); @@ -1772,7 +1772,7 @@ open_ecal (GnomeCalendar *gcal, ECal *cal, gboolean only_if_exists) gtk_widget_destroy (dialog); } - e_calendar_view_set_status_message (E_CAL_VIEW (gnome_calendar_get_current_view_widget (gcal)), NULL); + e_calendar_view_set_status_message (E_CALENDAR_VIEW (gnome_calendar_get_current_view_widget (gcal)), NULL); return retval; } -- cgit v1.2.3