mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
treewide: Remove icon size from constructors
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
parent
4b0b20eb0a
commit
52a0963e6c
3 changed files with 3 additions and 4 deletions
|
@ -224,8 +224,7 @@ update_time (CallsCallRecordRow *self,
|
|||
}
|
||||
|
||||
gtk_image_set_from_icon_name (self->type,
|
||||
get_call_icon_symbolic_name (inbound, !answered),
|
||||
GTK_ICON_SIZE_MENU);
|
||||
get_call_icon_symbolic_name (inbound, !answered));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ set_party (CallsCallSelectorItem *self)
|
|||
{
|
||||
CuiCall *call;
|
||||
// FIXME: use AdwAvatar and the contact avatar
|
||||
GtkWidget *image = gtk_image_new_from_icon_name ("avatar-default-symbolic", GTK_ICON_SIZE_DIALOG);
|
||||
GtkWidget *image = gtk_image_new_from_icon_name ("avatar-default-symbolic");
|
||||
|
||||
gtk_box_pack_start (self->main_box, image, TRUE, TRUE, 0);
|
||||
gtk_widget_show (image);
|
||||
|
|
|
@ -36,7 +36,7 @@ insert_phonenumber (CallsContactsRow *self,
|
|||
const gchar *number)
|
||||
{
|
||||
GtkWidget *label = gtk_label_new (number);
|
||||
GtkWidget *button = gtk_button_new_from_icon_name ("call-start-symbolic", GTK_ICON_SIZE_BUTTON);
|
||||
GtkWidget *button = gtk_button_new_from_icon_name ("call-start-symbolic");
|
||||
|
||||
gtk_widget_set_halign (label, GTK_ALIGN_START);
|
||||
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
|
||||
|
|
Loading…
Reference in a new issue