From 647671b6151f4e54c445ae93363a1f6136e1a88b Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 7 Mar 2003 02:26:11 +0000 Subject: ** reverted the following patch from ettore, this is a gnome 2.2 api 2003-03-07 Not Zed ** reverted the following patch from ettore, this is a gnome 2.2 api change, and shouldn't be used yet. * e-shell.c (impl_finalize): Use bonobo_activation_unregister_active_server() instead of bonobo_activatino_active_server_unregister(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). svn path=/trunk/; revision=20214 --- shell/e-shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index 0535821d4d..4bebc7a08f 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1151,7 +1151,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); @@ -1321,7 +1321,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) { -- cgit v1.2.3