mirror of https://github.com/mpv-player/mpv
Fix return type of getGtkEntryText, it must be const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25262 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
37235a01d9
commit
74be616f16
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue