[MPlayer-cvslog] r25262 - trunk/gui/mplayer/gtk/opts.c

reimar subversion at mplayerhq.hu
Sun Dec 2 17:50:33 CET 2007


Author: reimar
Date: Sun Dec  2 17:50:33 2007
New Revision: 25262

Log:
Fix return type of getGtkEntryText, it must be const


Modified:
   trunk/gui/mplayer/gtk/opts.c

Modified: trunk/gui/mplayer/gtk/opts.c
==============================================================================
--- trunk/gui/mplayer/gtk/opts.c	(original)
+++ trunk/gui/mplayer/gtk/opts.c	Sun Dec  2 17:50:33 2007
@@ -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;



More information about the MPlayer-cvslog mailing list