aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-30 17:32:11 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-30 17:32:11 +0800
commit43aa02ecd418a9a898d4287aa5a29f050486d605 (patch)
treee4bb3e630f0d4bbf43a9d710e50f1ad68ca94d94 /shell/evolution-shell-component.c
parent1e98eda7a4b8d6dd4c648af5fd407c8eef5dd1bd (diff)
downloadgsoc2013-evolution-43aa02ecd418a9a898d4287aa5a29f050486d605.tar.gz
gsoc2013-evolution-43aa02ecd418a9a898d4287aa5a29f050486d605.tar.zst
gsoc2013-evolution-43aa02ecd418a9a898d4287aa5a29f050486d605.zip
Derive EvolutionShellClient from BonoboObjectClient instead of BonoboObject.
svn path=/trunk/; revision=3825
Diffstat (limited to 'shell/evolution-shell-component.c')
-rw-r--r--shell/evolution-shell-component.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c
index 2b739b67b6..d110a424d7 100644
--- a/shell/evolution-shell-component.c
+++ b/shell/evolution-shell-component.c
@@ -140,6 +140,8 @@ impl_ShellComponent_set_owner (PortableServer_Servant servant,
priv->owner_client = evolution_shell_client_new (shell);
+ g_print ("%s -- %p\n", __FUNCTION__, shell);
+
gtk_signal_emit (GTK_OBJECT (shell_component), signals[OWNER_SET], priv->owner_client);
}
@@ -155,13 +157,14 @@ impl_ShellComponent_unset_owner (PortableServer_Servant servant,
shell_component = EVOLUTION_SHELL_COMPONENT (bonobo_object);
priv = shell_component->priv;
- if (priv->owner_client == CORBA_OBJECT_NIL) {
+ if (priv->owner_client == NULL) {
CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
ex_Evolution_ShellComponent_NotOwned, NULL);
return;
}
bonobo_object_unref (BONOBO_OBJECT (priv->owner_client));
+ priv->owner_client = NULL;
gtk_signal_emit (GTK_OBJECT (shell_component), signals[OWNER_UNSET]);
}