]> Pileus Git - ~andy/gtk/commit
icontheme: Don't assume a symbolic icon size of 16x16
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 6 Jun 2012 16:16:05 +0000 (18:16 +0200)
committerCarlos Garnacho <carlos@lanedo.com>
Fri, 13 Jul 2012 12:44:05 +0000 (14:44 +0200)
commitebdd60c63b962acaede2d699632934b1b6d6ca59
tree33d71082c9dcb9fd057fcdd5ccc66ad85e160023
parentdb569cbee7e3842d802c5f1d53e28d0dde98ffeb
icontheme: Don't assume a symbolic icon size of 16x16

If the symbolic icon has other size than 16x16, the embedder
SVG that overrides colors would still force that size, resulting
in clipping instead of resizing. So fetch the original pixbuf
size the first time a symbolic icon is requested for a GtkIconInfo,
and use that size for the embedder SVG so it can be scaled properly
afterwards.

https://bugzilla.gnome.org/show_bug.cgi?id=677567
gtk/gtkicontheme.c