[gnome-applets/gnome-3-36] command: fix invalid icon size warning



commit 59b31df4bf9917f1275e295a991a0d8f7b4546d4
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Mar 26 05:15:13 2020 +0200

    command: fix invalid icon size warning

 command/src/command.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/command/src/command.c b/command/src/command.c
index a74fe8983..d5ad91a74 100644
--- a/command/src/command.c
+++ b/command/src/command.c
@@ -272,7 +272,11 @@ command_execute (CommandApplet *command_applet)
                         gtk_label_set_markup (command_applet->label, goutput);
                     }
                     if (icon)
-                        gtk_image_set_from_icon_name (command_applet->image, icon, 24);
+                    {
+                        gtk_image_set_from_icon_name (command_applet->image,
+                                                      icon,
+                                                      GTK_ICON_SIZE_LARGE_TOOLBAR);
+                    }
 
                     g_free (goutput);
                     g_free (icon);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]