[easytag/wip/core-refactoring] Fix a crash when loading filenames from a file



commit dde79717f8eb476a8a3c993d9e1cee43035e50b0
Author: David King <amigadave amigadave com>
Date:   Fri Feb 26 17:27:05 2016 +0000

    Fix a crash when loading filenames from a file
    
    Swap the arguments of the callbacks for the reload signals.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1312163

 src/load_files_dialog.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/load_files_dialog.c b/src/load_files_dialog.c
index 8686526..e400f0e 100644
--- a/src/load_files_dialog.c
+++ b/src/load_files_dialog.c
@@ -633,15 +633,15 @@ Load_File_List (EtLoadFilesDialog *self)
 }
 
 static void
-on_load_file_name_view_reload_clicked (EtLoadFilesDialog *self,
-                                       G_GNUC_UNUSED GtkButton *button)
+on_load_file_name_view_reload_clicked (G_GNUC_UNUSED GtkButton *button,
+                                       EtLoadFilesDialog *self)
 {
     Load_File_List (self);
 }
 
 static void
-on_load_file_content_view_reload_clicked (EtLoadFilesDialog *self,
-                                          G_GNUC_UNUSED GtkButton *button)
+on_load_file_content_view_reload_clicked (G_GNUC_UNUSED GtkButton *button,
+                                          EtLoadFilesDialog *self)
 {
     Load_File_Content (NULL, self);
 }


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