aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-03-05 10:05:34 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-03-05 10:05:34 +0800
commit0ca271e142ff523df16ddaedee5979de720e8b56 (patch)
treeef6a38a95384ee7da8afbbfea53f221c2c006ba2 /addressbook/gui/component
parentb7cc601332ecb739da187120ba7f8a47366efde4 (diff)
downloadgsoc2013-evolution-0ca271e142ff523df16ddaedee5979de720e8b56.tar
gsoc2013-evolution-0ca271e142ff523df16ddaedee5979de720e8b56.tar.gz
gsoc2013-evolution-0ca271e142ff523df16ddaedee5979de720e8b56.tar.bz2
gsoc2013-evolution-0ca271e142ff523df16ddaedee5979de720e8b56.tar.lz
gsoc2013-evolution-0ca271e142ff523df16ddaedee5979de720e8b56.tar.xz
gsoc2013-evolution-0ca271e142ff523df16ddaedee5979de720e8b56.tar.zst
gsoc2013-evolution-0ca271e142ff523df16ddaedee5979de720e8b56.zip
removed. (owner_unset_cb): Basically a noop, the shell does the quit, we
2003-03-05 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (bonobo_main_quit_cb): removed. (owner_unset_cb): Basically a noop, the shell does the quit, we just note we have no owner anymore. svn path=/trunk/; revision=20164
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook-component.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 476ce73101..b1db690d2a 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -381,22 +381,15 @@ owner_set_cb (EvolutionShellComponent *shell_component,
addressbook_storage_setup (shell_component, evolution_homedir);
}
-static gboolean
-bonobo_main_quit_cb (gpointer closure)
-{
- bonobo_main_quit ();
- return TRUE;
-}
-
static void
owner_unset_cb (EvolutionShellComponent *shell_component,
GNOME_Evolution_Shell shell_interface,
gpointer user_data)
{
owner_count --;
- if (owner_count == 0) {
- g_idle_add (bonobo_main_quit_cb, NULL);
- }
+
+ if (owner_count == 0)
+ global_shell_client = NULL;
}
/* FIXME We should perhaps take the time to figure out if the book is editable. */