calls-best-match: AdwAvatar API changes
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/migrating-libhandy-1-4-to-libadwaita.html#adapt-to-adwavatar-api-changes This is *not* ideal, since it relies on Folks returning a GFileIcon internally, and it's also blocking. However, better to use something simple that compiles and works to begin with. Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
@@ -138,14 +138,14 @@ calls_ui_call_data_get_can_dtmf (CuiCall *call_data)
|
||||
}
|
||||
|
||||
|
||||
static GLoadableIcon *
|
||||
static GdkPaintable *
|
||||
calls_ui_call_data_get_avatar_icon (CuiCall *call_data)
|
||||
{
|
||||
CallsUiCallData *self = (CallsUiCallData *) call_data;
|
||||
|
||||
g_return_val_if_fail (CALLS_UI_CALL_DATA (self), NULL);
|
||||
|
||||
return calls_best_match_get_avatar (self->best_match);
|
||||
return GDK_PAINTABLE (calls_best_match_get_avatar (self->best_match));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user