[easytag] Fix crash when writing playlists



commit 7c440592e4ff95f3c8cec438019d270ca784b3d8
Author: James Cowgill <james410 cowgill org uk>
Date:   Tue Sep 8 17:49:13 2015 +0100

    Fix crash when writing playlists
    
    The error was caused by reading the 'rename-convert-spaces' setting with
    g_settings_get_flags() instead of g_settings_get_enum().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754742

 src/playlist_dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/playlist_dialog.c b/src/playlist_dialog.c
index 697b8ad..a554f4f 100644
--- a/src/playlist_dialog.c
+++ b/src/playlist_dialog.c
@@ -461,8 +461,8 @@ write_button_clicked (EtPlaylistDialog *self)
         g_free (temp);
 
         /* Replace Characters (with scanner). */
-        convert_mode = g_settings_get_flags (MainSettings,
-                                             "rename-convert-spaces");
+        convert_mode = g_settings_get_enum (MainSettings,
+                                            "rename-convert-spaces");
 
         switch (convert_mode)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]