diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-03-26 06:33:30 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-03-26 06:33:30 +0800 |
commit | d78bd3829c186685849a336f0fc756bef554aec5 (patch) | |
tree | 96a218f796e0bf8cd7fd343db61a3eb39a0441a0 /shell/e-shell-view.c | |
parent | faf22c27abd0e300392f39a3f58738bc753058cf (diff) | |
download | gsoc2013-evolution-d78bd3829c186685849a336f0fc756bef554aec5.tar.gz gsoc2013-evolution-d78bd3829c186685849a336f0fc756bef554aec5.tar.zst gsoc2013-evolution-d78bd3829c186685849a336f0fc756bef554aec5.zip |
+ * shell/e-shell-view.c (get_view): Move CORBA_Environment to
+ different scope.
+
+ * ebook/e-book.c,
+ ebook/e-book.h,
+ ebook/e-book.h,
+ ebook/e-card-fields.h,
+ ebook/e-card.h,
+ ebook/e-commerce.h: old, removed. Up-to-date EBook stuff is kept
+ in addressbook/backend/ebook.
svn path=/trunk/; revision=2162
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 189a762af9..b4558c023b 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -86,7 +86,6 @@ get_view (EShellView *eshell_view, EFolder *efolder, Bonobo_UIHandler uih) { GtkWidget *w = NULL; Evolution_Shell corba_shell = CORBA_OBJECT_NIL; - CORBA_Environment ev; EShell *shell_model = eshell_view->eshell; /* This type could be E_FOLDER_MAIL, E_FOLDER_CONTACTS, etc */ @@ -104,9 +103,6 @@ get_view (EShellView *eshell_view, EFolder *efolder, Bonobo_UIHandler uih) g_warning ("The shell Bonobo object does not have " "an associated CORBA object\n"); - /* initialize the corba environment */ - CORBA_exception_init (&ev); - /* depending on the type of folder, * we launch a different bonobo component */ switch (e_folder_type) { @@ -150,9 +146,14 @@ get_view (EShellView *eshell_view, EFolder *efolder, Bonobo_UIHandler uih) /* If it does, pass our shell interface to it */ if (corba_sr != CORBA_OBJECT_NIL) { + + CORBA_Environment ev; + CORBA_exception_init (&ev); Evolution_ServiceRepository_set_shell (corba_sr, corba_shell, &ev); + CORBA_exception_free (&ev); + } else { g_print ("The bonobo component for \"%s\" doesn't " @@ -160,7 +161,7 @@ get_view (EShellView *eshell_view, EFolder *efolder, Bonobo_UIHandler uih) "Evolution::ServiceRepository interface\n", e_folder_get_description (efolder)); } - + gtk_widget_show (w); } |