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

Modified Files:
        itdb.h itdb_itunesdb.c 
Log Message:
Minor documentation cleanups.

Index: itdb.h
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb.h,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- itdb.h      6 May 2007 15:00:03 -0000       1.68
+++ itdb.h      12 May 2007 07:21:55 -0000      1.69
@@ -1195,10 +1195,12 @@
 Itdb_Thumb *itdb_thumb_new (void);
 gchar *itdb_thumb_get_filename (Itdb_Device *device, Itdb_Thumb *thumb);
 
+#ifndef LIBGPOD_DISABLE_DEPRECATED
 /* time functions */
 time_t itdb_time_get_mac_time (void);
 time_t itdb_time_mac_to_host (time_t time);
 time_t itdb_time_host_to_mac (time_t time);
+#endif
 
 /* Initialize a blank ipod */
 gboolean itdb_init_ipod (const gchar *mountpoint,

Index: itdb_itunesdb.c
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/src/itdb_itunesdb.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- itdb_itunesdb.c     10 May 2007 11:27:10 -0000      1.94
+++ itdb_itunesdb.c     12 May 2007 07:21:55 -0000      1.95
@@ -6254,7 +6254,7 @@
 
 /**
  * itdb_time_mac_to_host:
- * @mactime: time expressed in 'Mac' unit
+ * @time: time expressed in libgpod format
  *
  * Converts a timestamp from libgpod format to host system timestamp.
  *
@@ -6263,9 +6263,9 @@
  * Deprecated: It's been kept for compatibility with older code, but this
  * function is now a no-op
  **/
-time_t itdb_time_mac_to_host (time_t mactime)
+time_t itdb_time_mac_to_host (time_t time)
 {
-    return mactime;
+    return time;
 }
 
 /**
@@ -6279,9 +6279,9 @@
  * Deprecated: It's been kept for compatibility with older code, but this
  * function is now a no-op
  **/
-time_t itdb_time_host_to_mac (time_t timet)
+time_t itdb_time_host_to_mac (time_t time)
 {
-    return timet;
+    return time;
 }
 
 time_t itdb_time_mac_to_time_t (Itdb_iTunesDB *db, guint64 mactime)


-------------------------------------------------------------------------
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