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

Modified Files:
        itdb.h itdb_track.c 
Log Message:
        * src/itdb.h: warning about adding string fields
          src/itdb_track_duplicate: duplicate new string fields
          (sort_*). Thanks to Raymond Walsh.



Index: itdb.h
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb.h,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- itdb.h      12 May 2007 07:21:55 -0000      1.69
+++ itdb.h      17 May 2007 10:39:36 -0000      1.70
@@ -950,6 +950,11 @@
   gpointer reserved5;
   gpointer reserved6;
 
+  /* +++***+++***+++***+++***+++***+++***+++***+++***+++***+++***
+     When adding string fields don't forget to add them in
+     itdb_track_duplicate as well
+     +++***+++***+++***+++***+++***+++***+++***+++***+++***+++*** */
+
   /* below is for use by application */
   guint64 usertype;
   gpointer userdata;

Index: itdb_track.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb_track.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- itdb_track.c        28 Apr 2007 08:55:49 -0000      1.28
+++ itdb_track.c        17 May 2007 10:39:36 -0000      1.29
@@ -363,6 +363,13 @@
     tr_dup->albumartist = g_strdup (tr->albumartist);
     tr_dup->keywords = g_strdup (tr->keywords);
     tr_dup->ipod_path = g_strdup (tr->ipod_path);
+    tr_dup->sort_artist = g_strdup (tr->sort_artist);
+    tr_dup->sort_title = g_strdup (tr->sort_title);
+    tr_dup->sort_album = g_strdup (tr->sort_album);
+    tr_dup->sort_albumartist = g_strdup (tr->sort_albumartist);
+    tr_dup->sort_composer = g_strdup (tr->sort_composer);
+    tr_dup->sort_tvshow = g_strdup (tr->sort_tvshow);
+
 
     /* Copy chapterdata */
     if (tr->chapterdata_raw)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to