From 6e47412b9cff37f1446f0b1f4a388e126dc73c78 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 20 Jan 2016 11:42:54 +0300 Subject: use icon names instead of stock items in both GTK+ builds --- src/profile-editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/profile-editor.c') diff --git a/src/profile-editor.c b/src/profile-editor.c index e89daff..873dd11 100644 --- a/src/profile-editor.c +++ b/src/profile-editor.c @@ -501,13 +501,13 @@ custom_command_entry_changed_cb (GtkEntry *entry) if (g_shell_parse_argv (command, NULL, NULL, &error)) { - gtk_entry_set_icon_from_stock (entry, GTK_PACK_END, NULL); + gtk_entry_set_icon_from_icon_name (entry, GTK_PACK_END, NULL); } else { char *tooltip; - gtk_entry_set_icon_from_stock (entry, GTK_PACK_END, GTK_STOCK_DIALOG_WARNING); + gtk_entry_set_icon_from_icon_name (entry, GTK_PACK_END, "dialog-warning"); tooltip = g_strdup_printf (_("Error parsing command: %s"), error->message); gtk_entry_set_icon_tooltip_text (entry, GTK_PACK_END, tooltip); -- cgit v1.2.1