From f0dce7584fc780bcbb7370dfa4f4403cdea21153 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 8 Jul 2020 01:10:27 +0200 Subject: command: Remove runtime warning about invalid icon size 24 --- command/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'command') 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; -- cgit v1.2.1