aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarfraaz Ahmed <asarfraaz@novell.com>2004-03-31 22:30:58 +0800
committerAhmed Sarfraaz <sarfraaz@src.gnome.org>2004-03-31 22:30:58 +0800
commit3019664181842f18b29cab880fe598f37dc44d81 (patch)
treef687eaf635607b935e22c8b543b6e8a9de206cdf
parentb787ac9181c7b5bb98bd711a4d88aef48eddbb83 (diff)
downloadgsoc2013-evolution-3019664181842f18b29cab880fe598f37dc44d81.tar.gz
gsoc2013-evolution-3019664181842f18b29cab880fe598f37dc44d81.tar.zst
gsoc2013-evolution-3019664181842f18b29cab880fe598f37dc44d81.zip
Replaced add_event_source with add_source and passed the VEVENT type as
2004-03-31 Sarfraaz Ahmed <asarfraaz@novell.com> * 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
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/control-factory.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index ceef0eb659..296d9d1b07 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-31 Sarfraaz Ahmed <asarfraaz@novell.com>
+
+ * gui/config-control.c (set_prop) : Replaced add_event_source
+ with add_source and passed the VEVENT type as argument.
+
2004-03-30 William Jon McCann <mccann@jhu.edu>
* gui/dialogs/calendar-setup.glade:
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;