aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog11
-rw-r--r--shell/e-shell.c4
2 files changed, 13 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index da1f129789..644423621e 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,14 @@
+2003-01-28 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-shell.c (e_shell_construct): Use
+ bonobo_activation_server_register() instead of
+ bonobo_activation_register_active_server() again, since we want to
+ be able to build against bonobo-activation 2.0 and the latter is
+ 2.2-specific.
+ (impl_finalize): Likewise, use
+ bonobo_activation_active_server_unregister() instead of
+ bonobo_activation_unregister_active_server().
+
2003-01-27 Ettore Perazzoli <ettore@ximian.com>
* e-shell-importer.c (choose_importer_from_list): Set
diff --git a/shell/e-shell.c b/shell/e-shell.c
index f78ba744af..958b1e049d 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1149,7 +1149,7 @@ impl_finalize (GObject *object)
priv = shell->priv;
if (priv->iid != NULL)
- bonobo_activation_unregister_active_server (priv->iid,
+ bonobo_activation_active_server_unregister (priv->iid,
bonobo_object_corba_objref (BONOBO_OBJECT (shell)));
g_free (priv->local_directory);
@@ -1319,7 +1319,7 @@ e_shell_construct (EShell *shell,
/* FIXME: Multi-display stuff. */
corba_object = bonobo_object_corba_objref (BONOBO_OBJECT (shell));
- if (bonobo_activation_register_active_server (iid, corba_object, NULL) != Bonobo_ACTIVATION_REG_SUCCESS)
+ if (bonobo_activation_active_server_register (iid, corba_object) != Bonobo_ACTIVATION_REG_SUCCESS)
return E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER;
if (! show_splash) {