Skip to content
Commit 4b64808d authored by Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto Committed by Florian Müllner
Browse files

iconGrid/iconGridLayout: Simplify _findBestIconSize()

The 'bestSize' variable isn't necessary anymore, remove it in favor of
simply returning the 'size' or, if no suitable size found, IconSize.TINY.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1518>

(cherry picked from commit b120b17d)
parent d6353bfa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment