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
This commit is contained in:
Not Zed
2003-03-05 02:05:34 +00:00
committed by Michael Zucci
parent b7cc601332
commit 0ca271e142
2 changed files with 10 additions and 10 deletions

View File

@ -1,3 +1,10 @@
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.
2003-03-04 JP Rosevear <jpr@ximian.com>
Fixes #37881

View File

@ -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. */