aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-view.h
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2003-10-24 00:10:09 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-10-24 00:10:09 +0800
commiteca844b013c8de01e2b6dcdecffdf50e1ecab7b6 (patch)
tree631264e05bdd79eb9e43507eadfac45cd5f95620 /calendar/gui/e-cal-view.h
parent39e56385b1abe6e053dd04004cc4fecbc0cf2d86 (diff)
downloadgsoc2013-evolution-eca844b013c8de01e2b6dcdecffdf50e1ecab7b6.tar.gz
gsoc2013-evolution-eca844b013c8de01e2b6dcdecffdf50e1ecab7b6.tar.zst
gsoc2013-evolution-eca844b013c8de01e2b6dcdecffdf50e1ecab7b6.zip
remove and free op before return.
2003-10-23 Harry Lu <harry.lu@sun.com> * cal-client/cal-client.c: (cal_client_get_timezone): remove and free op before return. * gui/e-cal-view.c (e_cal_view_add_event): modified from selection_received_add_event() so that it call be called out of e-cal-view.c. (selection_received): modified to call e_cal_view_add_event(). * gui/e-cal-view.h: add declaration for e_cal_view_add_event(). * gui/e-day-view.c (e_day_view_on_drag_data_get): Provide a icalcomponent for both TARGET_CALENDAR_EVENT and TARGET_VCALENDAR. (e_day_view_on_top_canvas_drag_data_received): If dragging between different windows, make it works like a copy and paste. (e_day_view_on_main_canvas_drag_data_received): ditto. svn path=/trunk/; revision=23041
Diffstat (limited to 'calendar/gui/e-cal-view.h')
-rw-r--r--calendar/gui/e-cal-view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-view.h b/calendar/gui/e-cal-view.h
index 9a09a5236a..04d6d079bb 100644
--- a/calendar/gui/e-cal-view.h
+++ b/calendar/gui/e-cal-view.h
@@ -116,6 +116,8 @@ void e_cal_view_delete_selected_occurrence (ECalView *cal_view);
GtkMenu *e_cal_view_create_popup_menu (ECalView *cal_view);
+void e_cal_view_add_event (ECalView *cal_view, CalClient *client, time_t dtstart,
+ icaltimezone *default_zone, icalcomponent *icalcomp, gboolean in_top_canvas);
void e_cal_view_new_appointment_for (ECalView *cal_view,
time_t dtstart,
time_t dtend,