diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-12-09 08:55:57 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-12-09 08:55:57 +0800 |
commit | a66eae167484718678ceae7368c167aacb322b38 (patch) | |
tree | 109b1873d637de6411d3aa1bb67fab865ecc2e08 /shell/main.c | |
parent | 25ad3092eb60a6dcdbb810cf684ce6dc8715ac4c (diff) | |
download | gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.gz gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.bz2 gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.lz gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.xz gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.tar.zst gsoc2013-evolution-a66eae167484718678ceae7368c167aacb322b38.zip |
Complete the code to associate a URI and a folder type to the toplevel
node in a storage. It sucks a bit and needs a little more
refactoring.
svn path=/trunk/; revision=6878
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/main.c b/shell/main.c index a628348049..dff0514f11 100644 --- a/shell/main.c +++ b/shell/main.c @@ -134,9 +134,10 @@ new_view_on_running_shell (void) } shell_view = GNOME_Evolution_Shell_createNewView ((GNOME_Evolution_Shell) corba_object, STARTUP_URI, &ev); - - Bonobo_Unknown_unref ((Bonobo_Unknown) shell_view, &ev); - CORBA_Object_release ((CORBA_Object) shell_view, &ev); + if (ev._major == CORBA_NO_EXCEPTION) { + Bonobo_Unknown_unref ((Bonobo_Unknown) shell_view, &ev); + CORBA_Object_release ((CORBA_Object) shell_view, &ev); + } CORBA_exception_free (&ev); } |