diff --git a/src/calls-ui-call-data.c b/src/calls-ui-call-data.c index 2c7a2b1..548e485 100644 --- a/src/calls-ui-call-data.c +++ b/src/calls-ui-call-data.c @@ -217,6 +217,15 @@ on_notify_name (CallsUiCallData *self) } +static void +on_notify_avatar (CallsUiCallData *self) +{ + g_assert (CALLS_IS_UI_CALL_DATA (self)); + + g_object_notify_by_pspec (G_OBJECT (self), props[PROP_AVATAR_ICON]); +} + + static void set_call_data (CallsUiCallData *self, CallsCall *call) @@ -244,6 +253,11 @@ set_call_data (CallsUiCallData *self, G_CALLBACK (on_notify_name), self, G_CONNECT_SWAPPED); + g_signal_connect_object (self->best_match, + "notify::avatar", + G_CALLBACK (on_notify_avatar), + self, + G_CONNECT_SWAPPED); self->call = call; g_signal_connect_object (self->call,