From fb73046e71f05c3fd1d48ffb8347b766a7bfe8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 5 Jun 2020 13:33:27 +0200 Subject: [PATCH] calls-contacts: Document lookup_phone_number This makes sure we have clear ownership rules --- src/calls-contacts.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/calls-contacts.c b/src/calls-contacts.c index 936cd11..36b1c85 100644 --- a/src/calls-contacts.c +++ b/src/calls-contacts.c @@ -164,7 +164,15 @@ search_view_prepare_cb (FolksSearchView *view, } } - +/* + * calls_contacts_lookup_phone_number: + * @self: The #CallsContact + * @number: The phonenumber + * + * Get a best contact match for a phone number + * + * Returns: (transfer none): The best match as #CallsBestMatch + */ CallsBestMatch * calls_contacts_lookup_phone_number (CallsContacts *self, EPhoneNumber *number)