aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/gnome-cal.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index f5ac5cb9fc..854c8911c0 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,4 +1,9 @@
-2003-01-10 Rodrigo Moya <rodrigo@ximian.com>
+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.
+
+2004-01-10 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/notify-main.c: added missing headers.
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;
}