From 74be616f162c0cf66e8e9cf80b55d2937b910065 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 2 Dec 2007 16:50:33 +0000 Subject: Fix return type of getGtkEntryText, it must be const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25262 b3059339-0415-0410-9bf9-f77b7e298cf2 --- gui/mplayer/gtk/opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') 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; -- cgit v1.2.3