aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/month-view.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-03-09 22:25:56 +0800
committerSeth Alves <alves@src.gnome.org>2000-03-09 22:25:56 +0800
commit873dfc7f89dcda2ce62feee64f6e800ba79fd84f (patch)
tree1b09d58298448e54510944cf4d38976a7bcd530a /calendar/gui/month-view.c
parent207a1395e10cbce4f9ec3baa33a649fb9a151a27 (diff)
downloadgsoc2013-evolution-873dfc7f89dcda2ce62feee64f6e800ba79fd84f.tar
gsoc2013-evolution-873dfc7f89dcda2ce62feee64f6e800ba79fd84f.tar.gz
gsoc2013-evolution-873dfc7f89dcda2ce62feee64f6e800ba79fd84f.tar.bz2
gsoc2013-evolution-873dfc7f89dcda2ce62feee64f6e800ba79fd84f.tar.lz
gsoc2013-evolution-873dfc7f89dcda2ce62feee64f6e800ba79fd84f.tar.xz
gsoc2013-evolution-873dfc7f89dcda2ce62feee64f6e800ba79fd84f.tar.zst
gsoc2013-evolution-873dfc7f89dcda2ce62feee64f6e800ba79fd84f.zip
replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar
* gui/gnome-cal.h: replaced "Calendar *cal" with "CalClient *calc" in the GnomeCalendar struct. * gui/*.c: tracked change from Calendar * to CalClient * gui/main.c: moved alarm_defaults from here to cal-util/calobj.c (calendar_get_events_in_range): pulled this out of calendar.c and fixed it up to use cal-client stuff. i'm not sure where to put it yet. * gui/main.c (calendar_iterate): pulled this one out of calendar.c also svn path=/trunk/; revision=2090
Diffstat (limited to 'calendar/gui/month-view.c')
-rw-r--r--calendar/gui/month-view.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/calendar/gui/month-view.c b/calendar/gui/month-view.c
index 0a7386f9e4..7d2d6c29bb 100644
--- a/calendar/gui/month-view.c
+++ b/calendar/gui/month-view.c
@@ -83,7 +83,8 @@ do_quick_view_popup (MonthView *mv, GdkEventButton *event, int day)
day_begin_time = time_from_day (mv->year, mv->month, day);
day_end_time = time_day_end (day_begin_time);
- list = calendar_get_events_in_range (mv->calendar->cal, day_begin_time, day_end_time);
+ list = calendar_get_events_in_range (mv->calendar->calc,
+ day_begin_time, day_end_time);
strftime (date_str, sizeof (date_str), _("%a %b %d %Y"), localtime (&day_begin_time));
qv = quick_view_new (mv->calendar, date_str, list);
@@ -91,7 +92,7 @@ do_quick_view_popup (MonthView *mv, GdkEventButton *event, int day)
quick_view_do_popup (QUICK_VIEW (qv), event);
gtk_widget_destroy (qv);
- calendar_destroy_event_list (list);
+ /* calendar_destroy_event_list (list); DELETE / FIX ME*/
}
/* Callback used to destroy the popup menu when the month view is destroyed */
@@ -679,7 +680,8 @@ month_view_update (MonthView *mv, iCalObject *object, int flags)
ii.month_begin = time_month_begin (t);
ii.month_end = time_month_end (t);
- calendar_iterate (mv->calendar->cal, ii.month_begin, ii.month_end, add_event, &ii);
+ calendar_iterate (mv->calendar,
+ ii.month_begin, ii.month_end, add_event, &ii);
for (i = 0; i < 42; i++) {
/* Delete the last character if it is a newline */