diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-01-11 04:22:08 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-01-11 04:22:08 +0800 |
commit | ce1cd2b1ae0906ad56add2a737a4591af21c8acd (patch) | |
tree | f9626d9c1aa7b54faf87278b301b3c692ca02b6a /calendar | |
parent | d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.c | 4 |
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; } |