summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/mplayer/gtk/opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/mplayer/gtk/opts.c b/gui/mplayer/gtk/opts.c
index be1486c9ef..ffd79fd2fd 100644
--- a/gui/mplayer/gtk/opts.c
+++ b/gui/mplayer/gtk/opts.c
@@ -1454,7 +1454,7 @@ GList *appendESDDevices(GList *l) {
// Gets text string from a gtk entry, interpreting
// MSGTR_PREFERENCES_DriverDefault as null string.
-char *getGtkEntryText(GtkWidget *from) {
+const char *getGtkEntryText(GtkWidget *from) {
const char *tmp = gtk_entry_get_text(GTK_ENTRY(from));
if (strcmp(tmp, MSGTR_PREFERENCES_DriverDefault) == 0) {
tmp = NULL;