[gnome-terminal] profile: editor: Use correct enum



commit 9f928c3a47f792ea3ac9f38942c669fb0370b32c
Author: Christian Persch <chpe src gnome org>
Date:   Fri Sep 28 12:59:19 2018 +0200

    profile: editor: Use correct enum

 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 eaad9182..1912c8cf 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -538,16 +538,16 @@ custom_command_entry_changed_cb (GtkEntry *entry)
   if (command[0] == '\0' ||
       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
     {
       gs_free 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);
     }
 }
 


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