summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2018-08-18 16:47:18 -0300
committerAndre Miranda <andreldm@xfce.org>2018-08-18 16:47:18 -0300
commit6c8283ee7c6e93ef102fa2c709d33290189bdfb7 (patch)
tree8a62a6c08dd1452c67c73872b7b550c593917c29 /src
parent834405403aea9ec61caaee4da3c273d4a1953189 (diff)
downloadxfce4-appfinder-6c8283ee7c6e93ef102fa2c709d33290189bdfb7.tar.gz
Force icon size
Diffstat (limited to 'src')
-rw-r--r--src/appfinder-model.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/appfinder-model.c b/src/appfinder-model.c
index 87a1e09..2766b5c 100644
--- a/src/appfinder-model.c
+++ b/src/appfinder-model.c
@@ -2175,7 +2175,8 @@ xfce_appfinder_model_load_pixbuf (const gchar *icon_name,
else
{
icon_theme = gtk_icon_theme_get_default ();
- pixbuf = gtk_icon_theme_load_icon (icon_theme, icon_name, size, 0, NULL);
+ pixbuf = gtk_icon_theme_load_icon (icon_theme, icon_name, size,
+ GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
if (pixbuf == NULL)
{
@@ -2211,7 +2212,7 @@ xfce_appfinder_model_load_pixbuf (const gchar *icon_name,
{
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
"applications-other",
- size, 0, NULL);
+ size, GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
}
if (pixbuf != NULL