diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-14 19:43:13 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-15 14:22:17 -0500 |
commit | dbfaa9910705a35d3017f1e8e65a9cf52e2f7d9b (patch) | |
tree | a76a5be1cac5ef746c431a00e8b79a93b63f3e10 /gtk/gtkprintbackend.c | |
parent | 049cc6aa013601c4e662c38df408f8956b155f0a (diff) | |
download | gtk+-dbfaa9910705a35d3017f1e8e65a9cf52e2f7d9b.tar.gz |
image: Remove icon-size argument from icon setters
Instead, add a function gtk_image_set_icon_size() for the cases where
overriding the icon size is necessary.
Treat icon sizes the same way as pixel sizes, too. So gtk_image_clear()
no longer unsets the icon size.
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r-- | gtk/gtkprintbackend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index 409427982f..e8f821ab8f 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -769,7 +769,7 @@ request_password (GtkPrintBackend *backend, main_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* Left */ - icon = gtk_image_new_from_icon_name ("dialog-password-symbolic", GTK_ICON_SIZE_DIALOG); + icon = gtk_image_new_from_icon_name ("dialog-password-symbolic"); gtk_widget_set_halign (icon, GTK_ALIGN_CENTER); gtk_widget_set_valign (icon, GTK_ALIGN_START); g_object_set (icon, "margin", 12, NULL); |