summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-05-10 13:12:47 +0200
committerraveit65 <[email protected]>2020-06-07 10:38:26 +0200
commit9d391911ac9a7776b645c2cfad82cd77e903084d (patch)
tree7f1045e5cafc14cc2e0e59d5235c90a9ffcd1bcc
parent8e6ba94897834455fe240b5cda1a0606a15c98f2 (diff)
downloadmate-terminal-9d391911ac9a7776b645c2cfad82cd77e903084d.tar.bz2
mate-terminal-9d391911ac9a7776b645c2cfad82cd77e903084d.tar.xz
profile-editor: Remove enum conversion warnings
-rw-r--r--src/profile-editor.c6
1 files 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);