aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-10-30 01:52:37 +0800
committerDan Winship <danw@src.gnome.org>2003-10-30 01:52:37 +0800
commit464b8503fe9f57e4a36e4994d56c16a15a1e3fa5 (patch)
tree50ecc3c9d0a18215b8139b9af967fd8e0bd28a19 /shell
parent8f25cae3befb9851c5c295e2bc39dec26bec9661 (diff)
downloadgsoc2013-evolution-464b8503fe9f57e4a36e4994d56c16a15a1e3fa5.tar.gz
gsoc2013-evolution-464b8503fe9f57e4a36e4994d56c16a15a1e3fa5.tar.zst
gsoc2013-evolution-464b8503fe9f57e4a36e4994d56c16a15a1e3fa5.zip
declare an exception for createControls to return, so we don't have to
* Evolution-Component.idl: declare an exception for createControls to return, so we don't have to just crash if it fails. svn path=/trunk/; revision=23120
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/Evolution-Component.idl5
2 files changed, 9 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index b632aa6735..1a06e09f33 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-29 Dan Winship <danw@ximian.com>
+
+ * Evolution-Component.idl: declare an exception for createControls
+ to return, so we don't have to just crash if it fails.
+
2003-10-28 Rodney Dawes <dobey@ximian.com>
* Makefile.am: Add e-shell-view.h to evolution_SOURCES
diff --git a/shell/Evolution-Component.idl b/shell/Evolution-Component.idl
index 52d86387db..c8159ff8fa 100644
--- a/shell/Evolution-Component.idl
+++ b/shell/Evolution-Component.idl
@@ -14,9 +14,12 @@ module GNOME {
module Evolution {
interface Component : Bonobo::Unknown {
+ exception Failed {};
+
/* Create the controls for embedding in the shell. */
void createControls (out Bonobo::Control sidebar_control,
- out Bonobo::Control view_control);
+ out Bonobo::Control view_control)
+ raises (Failed);
/* Request the component to quit. The component will reply
with an event named "quit", with a boolean value of TRUE if