aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-09-29 01:05:46 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-09-29 01:05:46 +0800
commit2108192b07b4411c14d216ae0a10b142cea66d8f (patch)
tree5da83a7d06f2a4ccedc06d92cd8be4d156ed0791
parent0e524f3ed0844843dfd04f6a72c469fd02493457 (diff)
downloadgsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar.gz
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar.bz2
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar.lz
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar.xz
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar.zst
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.zip
init the execption rather than freeing it
2001-09-28 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_client_open_calendar): init the execption rather than freeing it svn path=/trunk/; revision=13215
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/cal-client/cal-client.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 6285632fcb..c42fdc0859 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-28 JP Rosevear <jpr@ximian.com>
+
+ * cal-client/cal-client.c (cal_client_open_calendar): init the
+ execption rather than freeing it
+
2001-09-28 Rodrigo Moya <rodrigo@ximian.com>
* cal-client/cal-client.c (cal_client_construct): use bonobo-exception
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 86b3cc8a05..2e82dcbfe0 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -755,12 +755,14 @@ cal_client_open_calendar (CalClient *client, const char *str_uri, gboolean only_
priv->uri = g_strdup (str_uri);
for (f = priv->factories; f; f = f->next) {
- CORBA_exception_free (&ev);
+ CORBA_exception_init (&ev);
GNOME_Evolution_Calendar_CalFactory_open (f->data, str_uri,
only_if_exists,
corba_listener, &ev);
if (!BONOBO_EX (&ev))
break;
+
+ CORBA_exception_free (&ev);
}
if (BONOBO_EX (&ev)) {