aboutsummaryrefslogtreecommitdiff
path: root/src/format-selection.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-06 16:05:21 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-06 16:05:21 +0200
commite5c7c410bebca09376f24de1d97cc14effe5f0e2 (patch)
treea1bbe9d17bdef6c18d68f0fb729f1739d283cf73 /src/format-selection.c
parent79aa24abaed9794a5402ecf44ef98860c013c8a0 (diff)
downloadexperiment-player-e5c7c410bebca09376f24de1d97cc14effe5f0e2.tar.gz
use stock icon constants
Diffstat (limited to 'src/format-selection.c')
-rw-r--r--src/format-selection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/format-selection.c b/src/format-selection.c
index 8fb04df..73c1ca5 100644
--- a/src/format-selection.c
+++ b/src/format-selection.c
@@ -121,7 +121,8 @@ generic_transcript_entry_changed_cb(gpointer user_data, GtkEditable *editable)
gtk_entry_set_icon_from_stock(GTK_ENTRY(editable),
GTK_ENTRY_ICON_PRIMARY,
- res ? "gtk-dialog-error" : "gtk-apply");
+ res ? GTK_STOCK_DIALOG_ERROR
+ : GTK_STOCK_APPLY);
gtk_entry_set_icon_sensitive(GTK_ENTRY(editable),
GTK_ENTRY_ICON_PRIMARY,
text != NULL && *text);