Implement contact name lookup for call display

* src/calls-manager.h: Add lookup function to header
* src/calls-manager.c: Implement lookup function to be used for the call
  history, call notifier and call display
* src/calls-call-holder.c: Use calls_manager_get_contact_name ()
* src/calls-notifier.c: Use calls_manager_get_contact_name ()
This commit is contained in:
Evangelos Ribeiro Tzaras
2020-06-17 13:53:46 +02:00
parent 0f0d10e3f2
commit 9fc8ec5e1a
4 changed files with 50 additions and 29 deletions

View File

@@ -60,5 +60,6 @@ void calls_manager_dial (CallsManager *self,
CallsOrigin *calls_manager_get_default_origin (CallsManager *self);
void calls_manager_set_default_origin (CallsManager *self,
CallsOrigin *origin);
const gchar *calls_manager_get_contact_name (CallsCall *call);
G_END_DECLS