[easytag] Fix return type of Cddb_Get_Album_Tracks_List_CB()



commit 529a1055a25549b52acadc86101eb9c30c5fd8aa
Author: David King <amigadave amigadave com>
Date:   Sat Jul 16 22:32:23 2016 +0100

    Fix return type of Cddb_Get_Album_Tracks_List_CB()
    
    The changed signal of GtkTreeSelection has a return type of void.

 src/cddb_dialog.c |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/cddb_dialog.c b/src/cddb_dialog.c
index 097188e..011554b 100644
--- a/src/cddb_dialog.c
+++ b/src/cddb_dialog.c
@@ -223,7 +223,7 @@ static gint Cddb_Track_List_Sort_Func (GtkTreeModel *model, GtkTreeIter *a,
 
 static gchar *Cddb_Format_Proxy_Authentification (void);
 
-static gboolean Cddb_Get_Album_Tracks_List_CB (EtCDDBDialog *self, GtkTreeSelection *selection);
+static void Cddb_Get_Album_Tracks_List_CB (EtCDDBDialog *self, GtkTreeSelection *selection);
 
 
 /*
@@ -1272,7 +1272,7 @@ Cddb_Get_Album_Tracks_List (EtCDDBDialog *self, GtkTreeSelection* selection)
  * Callback when selecting a row in the Album List.
  * We get the list of tracks of the selected album
  */
-static gboolean
+static void
 Cddb_Get_Album_Tracks_List_CB (EtCDDBDialog *self, GtkTreeSelection *selection)
 {
     gint i;
@@ -1287,13 +1287,6 @@ Cddb_Get_Album_Tracks_List_CB (EtCDDBDialog *self, GtkTreeSelection *selection)
             break;
         }
     }
-    if (i <= i_max)
-    {
-        return TRUE;
-    } else
-    {
-        return FALSE;
-    }
 }
 
 /*


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