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



commit 05d937d98bed48da7a71c76177edafdaba168a5f
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Mar 26 05:19:43 2020 +0200

    command: really fix invalid icon size warning

 command/src/command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/command/src/command.c b/command/src/command.c
index d5ad91a74..20e3ecd4a 100644
--- a/command/src/command.c
+++ b/command/src/command.c
@@ -338,7 +338,7 @@ command_applet_fill (PanelApplet* applet)
     command_applet->width = g_settings_get_int (command_applet->settings, WIDTH_KEY);
 
     command_applet->box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0));
-    command_applet->image = GTK_IMAGE (gtk_image_new_from_icon_name (APPLET_ICON, 24));
+    command_applet->image = GTK_IMAGE (gtk_image_new_from_icon_name (APPLET_ICON, 
GTK_ICON_SIZE_LARGE_TOOLBAR));
     command_applet->label = GTK_LABEL (gtk_label_new (ERROR_OUTPUT));
     command_applet->timeout_id = 0;
 


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