aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-editor-factory.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-03-15 22:05:33 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-03-15 22:05:33 +0800
commitac6299d7a485294d6090835b9942ea061c5279cf (patch)
tree00ce693ce5cde7f4502a63b3ae49f04be0131b2f /calendar/gui/comp-editor-factory.c
parent02d39bf7b3fa10dbd8cbf21c13b842bcf69ff64a (diff)
downloadgsoc2013-evolution-ac6299d7a485294d6090835b9942ea061c5279cf.tar
gsoc2013-evolution-ac6299d7a485294d6090835b9942ea061c5279cf.tar.gz
gsoc2013-evolution-ac6299d7a485294d6090835b9942ea061c5279cf.tar.bz2
gsoc2013-evolution-ac6299d7a485294d6090835b9942ea061c5279cf.tar.lz
gsoc2013-evolution-ac6299d7a485294d6090835b9942ea061c5279cf.tar.xz
gsoc2013-evolution-ac6299d7a485294d6090835b9942ea061c5279cf.tar.zst
gsoc2013-evolution-ac6299d7a485294d6090835b9942ea061c5279cf.zip
use bonobo exception macros to tidy
2002-03-15 JP Rosevear <jpr@ximian.com> * gui/main.c: use bonobo exception macros to tidy * gui/itip-control-factory.c: ditto * gui/gnome-cal.c: ditto * gui/comp-editor-factory.c: ditto * gui/calendar-commands.c: ditto svn path=/trunk/; revision=16172
Diffstat (limited to 'calendar/gui/comp-editor-factory.c')
-rw-r--r--calendar/gui/comp-editor-factory.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c
index 54f0f00569..805e0a5c0b 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -22,6 +22,7 @@
#include <config.h>
#endif
+#include <bonobo/bonobo-exception.h>
#include <evolution-calendar.h>
#include <e-util/e-url.h>
#include <cal-client/cal-client.h>
@@ -589,9 +590,7 @@ lookup_open_client (CompEditorFactory *factory, const char *str_uri, CORBA_Envir
uri = e_uri_new (str_uri);
if (!uri) {
- CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
- ex_GNOME_Evolution_Calendar_CompEditorFactory_InvalidURI,
- NULL);
+ bonobo_exception_set (ev, ex_GNOME_Evolution_Calendar_CompEditorFactory_InvalidURI);
return NULL;
}
e_uri_free (uri);
@@ -600,10 +599,7 @@ lookup_open_client (CompEditorFactory *factory, const char *str_uri, CORBA_Envir
if (!oc) {
oc = open_client (factory, str_uri);
if (!oc) {
- CORBA_exception_set (
- ev, CORBA_USER_EXCEPTION,
- ex_GNOME_Evolution_Calendar_CompEditorFactory_BackendContactError,
- NULL);
+ bonobo_exception_set (ev, ex_GNOME_Evolution_Calendar_CompEditorFactory_BackendContactError);
return NULL;
}
}