Add initial avatar support

We change the code for dealing with contacts quite significantly,
adding a new class, CallsBestMatch, in order to encapsulate a lot of
the functionality that was in CallsCallRecordRow.

At present avatars are not rounded and there are no auto-generated
avatars for contacts with no avatar.  This work is awaiting discussion
of Apps_Issues#164.
This commit is contained in:
Bob Ham
2019-12-09 14:51:21 +00:00
parent 40b8793710
commit cc41df44d6
8 changed files with 731 additions and 112 deletions

View File

@@ -24,6 +24,17 @@
#include "util.h"
void
calls_object_unref (gpointer object)
{
if (object)
{
g_object_unref (object);
}
}
typedef struct
{
gpointer needle;