diff options
author | JP Rosevear <jpr@ximian.com> | 2002-05-27 00:46:49 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-05-27 00:46:49 +0800 |
commit | a1d69a1b83b4a1de9f54fef9a4e0da7703de9a55 (patch) | |
tree | 9930ac4b8d85e1712a79fec7dbae9950c78fa1c3 /calendar/gui/calendar-component.c | |
parent | fb1d17d150cb5178ca1d63431958d3df9dfc60b3 (diff) | |
download | gsoc2013-evolution-a1d69a1b83b4a1de9f54fef9a4e0da7703de9a55.tar.gz gsoc2013-evolution-a1d69a1b83b4a1de9f54fef9a4e0da7703de9a55.tar.zst gsoc2013-evolution-a1d69a1b83b4a1de9f54fef9a4e0da7703de9a55.zip |
if there are remaining items, return false (foreach_close_cb): don't
2002-05-26 JP Rosevear <jpr@ximian.com>
* gui/e-comp-editor-registry.c (e_comp_editor_registry_close_all):
if there are remaining items, return false
(foreach_close_cb): don't remove the item if it couldn't be closed
* gui/e-comp-editor-registry.h: update proto
* gui/component-factory.c (request_quit): return a boolean
indicating if everything was closed
* gui/dialogs/comp-editor.h: update proto
* gui/dialogs/comp-editor.c (comp_editor_close): return true if
the editor was closed, false otherwise
svn path=/trunk/; revision=17019
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r-- | calendar/gui/calendar-component.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index f1d09b90ed..71c52f9c7c 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -472,9 +472,7 @@ xfer_folder (EvolutionShellComponent *shell_component, static gboolean request_quit (EvolutionShellComponent *shell_component, void *closure) { - e_comp_editor_registry_close_all (comp_editor_registry); - - return TRUE; + return e_comp_editor_registry_close_all (comp_editor_registry); } static GList *shells = NULL; |