mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
Don't omit GTK_ICON_SIZE_DIALOG
This commit is contained in:
parent
1dbfcf484b
commit
9f11bb0ff6
@ -1352,7 +1352,7 @@ find_icon_size (GtkWidget *widget,
|
||||
dist = G_MAXINT;
|
||||
size = GTK_ICON_SIZE_MENU;
|
||||
|
||||
for (s = GTK_ICON_SIZE_MENU; s < GTK_ICON_SIZE_DIALOG; s++)
|
||||
for (s = GTK_ICON_SIZE_MENU; s <= GTK_ICON_SIZE_DIALOG; s++)
|
||||
{
|
||||
if (gtk_icon_size_lookup_for_settings (settings, s, &w, &h) &&
|
||||
w <= pixel_size && h <= pixel_size)
|
||||
|
Loading…
Reference in New Issue
Block a user