summaryrefslogtreecommitdiff
path: root/command
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-08 01:10:27 +0200
committerraveit65 <[email protected]>2020-07-14 17:14:36 +0200
commitf0dce7584fc780bcbb7370dfa4f4403cdea21153 (patch)
tree16a9cba6c24b170feeb7f1e20032becd440987af /command
parentf7a5d24430d8cb33f1c4227c5a1753f2aacb6bb2 (diff)
downloadmate-applets-f0dce7584fc780bcbb7370dfa4f4403cdea21153.tar.bz2
mate-applets-f0dce7584fc780bcbb7370dfa4f4403cdea21153.tar.xz
command: Remove runtime warning about invalid icon size 24
Diffstat (limited to 'command')
-rw-r--r--command/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/command/command.c b/command/command.c
index 107f97d3..f53bef43 100644
--- a/command/command.c
+++ b/command/command.c
@@ -297,7 +297,7 @@ process_command_output (CommandApplet *command_applet, gchar *output)
}
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);
@@ -422,7 +422,7 @@ command_applet_fill (MatePanelApplet* applet)
command_applet->cancellable = g_cancellable_new ();
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;