aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/corba-cal-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/corba-cal-factory.c')
-rw-r--r--calendar/gui/corba-cal-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/corba-cal-factory.c b/calendar/gui/corba-cal-factory.c
index e53834165c..68f98f4229 100644
--- a/calendar/gui/corba-cal-factory.c
+++ b/calendar/gui/corba-cal-factory.c
@@ -68,7 +68,7 @@ calendar_create_object (PortableServer_Servant servant,
gcal = gnome_calendar_locate (name);
if (gcal != NULL)
- return CORBA_Object_duplicate (gcal->cal->corba_server, ev);
+ return CORBA_Object_duplicate (gcal->calc->corba_server, ev);
if (stat (name, &s) != 0){
CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
@@ -79,7 +79,7 @@ calendar_create_object (PortableServer_Servant servant,
gcal = new_calendar ("", name, NULL, NULL, FALSE);
- return CORBA_Object_duplicate (gcal->cal->corba_server, ev);
+ return CORBA_Object_duplicate (gcal->calc->corba_server, ev);
}
void