1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-05-21 20:49:29 +00:00

calls-call-selector-item: Adapt to GtkBox API changes

https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkbox-api-changes

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev 2023-12-16 11:20:43 -08:00
parent 011d8a29b7
commit 5abfae254a

View file

@ -69,7 +69,7 @@ set_party (CallsCallSelectorItem *self)
// FIXME: use AdwAvatar and the contact avatar
GtkWidget *image = gtk_image_new_from_icon_name ("avatar-default-symbolic");
gtk_box_pack_start (self->main_box, image, TRUE, TRUE, 0);
gtk_box_append (self->main_box, image);
gtk_widget_set_visible (image, TRUE);
call = cui_call_display_get_call (self->display);