+static EBook *
+gl_open_system_addressbook (GError **error)
+{
+ ESourceRegistry *registry;
+ EBook *book = NULL;
+ ESource *source;
+
+ registry = e_source_registry_new_sync (NULL, error);
+ if (!registry)
+ return NULL;
+
+ source = e_source_registry_ref_builtin_address_book (registry);
+ if (!source) {
+ g_object_unref (registry);
+ return NULL;
+ }
+
+ book = e_book_new (source, error);
+
+ g_object_unref (source);
+ g_object_unref (registry);
+
+ return book;
+}
+