contacts-provider: Add GDBusActionGroup to query if contacts can be added

As this requires a patched GNOME Contacts, we want to be able to query if the
necessary actions to add new contacts is available before trying to use it.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-12-31 11:39:35 +01:00
parent 56da32d1b6
commit c6d867cd72
2 changed files with 108 additions and 1 deletions

View File

@@ -56,5 +56,6 @@ CallsBestMatch *calls_contacts_provider_lookup_id (CallsConta
void calls_contacts_provider_consume_iter_on_idle (GeeIterator *iter,
IdleCallback callback,
gpointer user_data);
gboolean calls_contacts_provider_get_can_add_contacts (CallsContactsProvider *self);
G_END_DECLS