[Xfce4-commits] [xfce/xfce4-appfinder] 02/03: Force icon size

noreply at xfce.org noreply at xfce.org
Sat Aug 18 23:58:45 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-appfinder.

commit 6c8283ee7c6e93ef102fa2c709d33290189bdfb7
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Aug 18 16:47:18 2018 -0300

    Force icon size
---
 src/appfinder-model.c | 5 +++--
 1 file 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list