aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-01-11 04:22:08 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-01-11 04:22:08 +0800
commitce1cd2b1ae0906ad56add2a737a4591af21c8acd (patch)
treef9626d9c1aa7b54faf87278b301b3c692ca02b6a /calendar/gui
parentd6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5 (diff)
downloadgsoc2013-evolution-ce1cd2b1ae0906ad56add2a737a4591af21c8acd.tar.gz
gsoc2013-evolution-ce1cd2b1ae0906ad56add2a737a4591af21c8acd.tar.zst
gsoc2013-evolution-ce1cd2b1ae0906ad56add2a737a4591af21c8acd.zip
cast the views to E_CALENDAR_VIEW, not to E_CAL_VIEW.
2004-01-10 Rodrigo Moya <rodrigo@ximian.com> * gui/gnome-cal.c (open_ecal): cast the views to E_CALENDAR_VIEW, not to E_CAL_VIEW. svn path=/trunk/; revision=24148
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gnome-cal.c4
1 files changed, 2 insertions, 2 deletions
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;
}