From 9d391911ac9a7776b645c2cfad82cd77e903084d Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 10 May 2020 13:12:47 +0200 Subject: [PATCH] profile-editor: Remove enum conversion warnings --- src/profile-editor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/profile-editor.c b/src/profile-editor.c index e0d54b2..97de02e 100644 --- a/src/profile-editor.c +++ b/src/profile-editor.c @@ -486,16 +486,16 @@ custom_command_entry_changed_cb (GtkEntry *entry) if (g_shell_parse_argv (command, NULL, NULL, &error)) { - gtk_entry_set_icon_from_icon_name (entry, GTK_PACK_END, NULL); + gtk_entry_set_icon_from_icon_name (entry, GTK_ENTRY_ICON_SECONDARY, NULL); } else { char *tooltip; - gtk_entry_set_icon_from_icon_name (entry, GTK_PACK_END, "dialog-warning"); + gtk_entry_set_icon_from_icon_name (entry, GTK_ENTRY_ICON_SECONDARY, "dialog-warning"); tooltip = g_strdup_printf (_("Error parsing command: %s"), error->message); - gtk_entry_set_icon_tooltip_text (entry, GTK_PACK_END, tooltip); + gtk_entry_set_icon_tooltip_text (entry, GTK_ENTRY_ICON_SECONDARY, tooltip); g_free (tooltip); g_error_free (error);