Update of /cvsroot/gtkpod/libgpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31860/src

Modified Files:
        itdb.h itdb_track.c 
Log Message:
        * src/itdb.h: changed 'gchar *chapterdata' to 'gpointer
          chapterdata' with note that chapterdata is not yet supported.

        * src/itdb_track.c (itdb_track_duplicate): arrange the strings in
          the same order as in Itdb_Track for easier error-checking.



Index: itdb.h
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- itdb.h      21 Mar 2007 08:37:20 -0000      1.61
+++ itdb.h      8 Apr 2007 12:58:28 -0000       1.62
@@ -1,5 +1,4 @@
-/* Time-stamp: <2007-02-25 13:26:22 jcs>
-|
+/*
 |  Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
 | 
@@ -670,7 +669,7 @@
   gchar   *description;      /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *podcasturl;       /* see note for MHOD_ID in itdb_itunesdb.c */
   gchar   *podcastrss;       /* see note for MHOD_ID in itdb_itunesdb.c */
-  gchar   *chapterdata;      /* see note for MHOD_ID in itdb_itunesdb.c */
+  gpointer chapterdata;      /* not yet supported. Help welcome.        */
   gchar   *subtitle;         /* see note for MHOD_ID in itdb_itunesdb.c */
 /* the following 6 are new in libgpod 0.4.2... */
   gchar   *tvshow;           /* see note for MHOD_ID in itdb_itunesdb.c */

Index: itdb_track.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb_track.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- itdb_track.c        21 Mar 2007 08:37:20 -0000      1.26
+++ itdb_track.c        8 Apr 2007 12:58:28 -0000       1.27
@@ -1,5 +1,4 @@
-/* Time-stamp: <2006-11-23 23:32:16 jcs>
-|
+/*
 |  Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
 |  Part of the gtkpod project.
 | 
@@ -337,14 +336,14 @@
 
     /* copy strings */
     tr_dup->title = g_strdup (tr->title);
-    tr_dup->artist = g_strdup (tr->artist);
     tr_dup->album = g_strdup (tr->album);
+    tr_dup->artist = g_strdup (tr->artist);
     tr_dup->genre = g_strdup (tr->genre);
-    tr_dup->composer = g_strdup (tr->composer);
-    tr_dup->comment = g_strdup (tr->comment);
     tr_dup->filetype = g_strdup (tr->filetype);
-    tr_dup->grouping = g_strdup (tr->grouping);
+    tr_dup->comment = g_strdup (tr->comment);
     tr_dup->category = g_strdup (tr->category);
+    tr_dup->composer = g_strdup (tr->composer);
+    tr_dup->grouping = g_strdup (tr->grouping);
     tr_dup->description = g_strdup (tr->description);
     tr_dup->podcasturl = g_strdup (tr->podcasturl);
     tr_dup->podcastrss = g_strdup (tr->podcastrss);


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to