aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/control-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/control-factory.c')
-rw-r--r--calendar/gui/control-factory.c2
1 files changed, 1 insertions, 1 deletions
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;