From 3019664181842f18b29cab880fe598f37dc44d81 Mon Sep 17 00:00:00 2001 From: Sarfraaz Ahmed Date: Wed, 31 Mar 2004 14:30:58 +0000 Subject: Replaced add_event_source with add_source and passed the VEVENT type as 2004-03-31 Sarfraaz Ahmed * gui/config-control.c (set_prop) : Replaced add_event_source with add_source and passed the VEVENT type as argument. svn path=/trunk/; revision=25263 --- calendar/gui/control-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/control-factory.c b/calendar/gui/control-factory.c index f19acb0b4d..ac04829ee9 100644 --- a/calendar/gui/control-factory.c +++ b/calendar/gui/control-factory.c @@ -134,7 +134,7 @@ set_prop (BonoboPropertyBag *bag, source = e_source_new ("", ""); e_source_set_group (source, group); - if (gnome_calendar_add_event_source (gcal, source)) { + if (gnome_calendar_add_source (gcal, E_CAL_SOURCE_TYPE_EVENT, source)) { calendar_control_sensitize_calendar_commands (control, gcal, TRUE); } else { char *msg; -- cgit