aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 1acba3fcec..48aef349b3 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -624,6 +624,12 @@ impl_upgradeFromVersion (PortableServer_Servant servant, short major, short mino
return addressbook_migrate (addressbook_component_peek (), major, minor, revision);
}
+static CORBA_boolean
+impl_requestQuit (PortableServer_Servant servant, CORBA_Environment *ev)
+{
+ return eab_editor_request_close_all ();
+}
+
/* GObject methods. */
static void
@@ -677,6 +683,7 @@ addressbook_component_class_init (AddressbookComponentClass *class)
epv->_get_userCreatableItems = impl__get_userCreatableItems;
epv->requestCreateItem = impl_requestCreateItem;
epv->upgradeFromVersion = impl_upgradeFromVersion;
+ epv->requestQuit = impl_requestQuit;
object_class->dispose = impl_dispose;
object_class->finalize = impl_finalize;