Revision: 2304
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2304&view=rev
Author:   teuf
Date:     2009-04-05 15:40:56 +0000 (Sun, 05 Apr 2009)

Log Message:
-----------
Rename playcount_get_next to playcount_take_next (more descriptive name)

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/src/itdb_itunesdb.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2009-04-05 15:40:27 UTC (rev 2303)
+++ libgpod/trunk/ChangeLog     2009-04-05 15:40:56 UTC (rev 2304)
@@ -1,5 +1,12 @@
 2009-04-05  Christophe Fergeau  <[email protected]>
 
+       Patch from: Javier Kohen:
+
+       * src/itdb_itunesdb.c: rename playcount_get_next to
+       playcount_take_next which is a more descriptive name
+
+2009-04-05  Christophe Fergeau  <[email protected]>
+
        Patch from: Erik Hovland
 
        * src/itdb_thumb.c: don't shadow itdb_thumb_to_pixbuf_at_size

Modified: libgpod/trunk/src/itdb_itunesdb.c
===================================================================
--- libgpod/trunk/src/itdb_itunesdb.c   2009-04-05 15:40:27 UTC (rev 2303)
+++ libgpod/trunk/src/itdb_itunesdb.c   2009-04-05 15:40:56 UTC (rev 2304)
@@ -855,7 +855,7 @@
 /* get next playcount, that is the first entry of GList
  * playcounts. This entry is removed from the list. You must free the
  * return value after use */
-static struct playcount *playcount_get_next (FImport *fimp)
+static struct playcount *playcount_take_next (FImport *fimp)
 {
     struct playcount *playcount;
     g_return_val_if_fail (fimp, NULL);
@@ -874,7 +874,7 @@
 
     g_return_if_fail (fimp);
 
-    while ((playcount=playcount_get_next (fimp))) g_free (playcount);
+    while ((playcount=playcount_take_next (fimp))) g_free (playcount);
 }
 
 
@@ -2473,7 +2473,7 @@
       seek += zip;
   }
 
-  playcount = playcount_get_next (fimp);
+  playcount = playcount_take_next (fimp);
   if (playcount)
   {
       if (playcount->rating != NO_PLAYCOUNT)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to