treewide: Remove icon size from constructors

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev
2023-12-13 14:51:25 -08:00
parent 4b0b20eb0a
commit 52a0963e6c
3 changed files with 3 additions and 4 deletions

View File

@@ -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);