aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/goto.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-19 10:47:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-19 10:47:49 +0800
commit026e76465697c7a8df48af89f4b3845902219fe7 (patch)
treee8aa83984daea54244e6bf80643fbc5d22cbc496 /calendar/gui/goto.c
parentdbd93b798184e94e492280bc81644477f8947168 (diff)
downloadgsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar
gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar.gz
gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar.bz2
gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar.lz
gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar.xz
gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar.zst
gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.zip
Trim more fat off the GnomeCalendar API.
Oh and hey look, I can see events now!
Diffstat (limited to 'calendar/gui/goto.c')
-rw-r--r--calendar/gui/goto.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c
index 5f3e80f5ae..15e8337ce1 100644
--- a/calendar/gui/goto.c
+++ b/calendar/gui/goto.c
@@ -77,9 +77,11 @@ ecal_date_range_changed (ECalendarItem *calitem, gpointer user_data)
{
#if 0 /* KILL-BONOBO */
GoToDialog *dlg = user_data;
+ ECalModel *model;
ECal *client;
- client = gnome_calendar_get_default_client (dlg->gcal);
+ model = gnome_calendar_get_model (dlg->gcal);
+ client = e_cal_model_get_default_client (model);
if (client)
tag_calendar_by_client (dlg->ecal, client);
#endif
@@ -99,7 +101,7 @@ ecal_event (ECalendarItem *calitem, gpointer user_data)
icaltimezone *timezone;
time_t et;
- model = gnome_calendar_get_calendar_model (dlg->gcal);
+ model = gnome_calendar_get_model (dlg->gcal);
e_calendar_item_get_selection (calitem, &start_date, &end_date);
timezone = e_cal_model_get_timezone (model);