diff options
Diffstat (limited to 'calendar/cal-listener.c')
-rw-r--r-- | calendar/cal-listener.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/cal-listener.c b/calendar/cal-listener.c index fee7e96024..32024d04f5 100644 --- a/calendar/cal-listener.c +++ b/calendar/cal-listener.c @@ -187,6 +187,8 @@ cal_listener_destroy (GtkObject *object) if (ev._major != CORBA_NO_EXCEPTION) g_message ("cal_listener_destroy(): could not release the calendar"); + + priv->cal = CORBA_OBJECT_NIL; } CORBA_exception_free (&ev); @@ -257,6 +259,10 @@ Listener_cal_loaded (PortableServer_Servant servant, load_status = CAL_LISTENER_LOAD_ERROR; break; + case Evolution_Calendar_Listener_IN_USE: + load_status = CAL_LISTENER_LOAD_IN_USE; + break; + default: load_status = CAL_LISTENER_LOAD_ERROR; /* keep gcc happy */ g_assert_not_reached (); |