When creating icon info objects for unthemed files, we don't really have a nominal size, so we pass 0 to mean 'load at original size'. However, this is not what was happening. To make this possible, add variants of some pixbuf loading functions that take a scale factor instead of a desired size, and use those when we don't have a nominal size.
001598a icon theme: Improve loading of unthemed files
gtk/Makefile.am | 6 +-
gtk/gdkpixbufutils.c | 132 +++++++++++++++++++++++++++++++++++++++++++
gtk/gdkpixbufutilsprivate.h | 35 ++++++++++++
gtk/gtkicontheme.c | 27 ++++++---
4 files changed, 191 insertions(+), 9 deletions(-)
Upstream: git.gnome.org