diff options
author | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2007-05-27 14:58:41 +0000 |
---|---|---|
committer | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2007-05-27 14:58:41 +0000 |
commit | 01873382c437a553121ac15bc8347f2a76b77bdd (patch) | |
tree | a51e1709cfe1715e1a5d6f1a8be4cb51be1bf149 /src/itdb_private.h | |
parent | 1d7725b0a6063be671a7f3b2821fa00c15085d8c (diff) | |
download | libgpod-tmz-01873382c437a553121ac15bc8347f2a76b77bdd.tar.gz libgpod-tmz-01873382c437a553121ac15bc8347f2a76b77bdd.tar.xz libgpod-tmz-01873382c437a553121ac15bc8347f2a76b77bdd.zip |
* src/db-artwork-parser.c
src/db-artwork-writer.c
src/itdb_device.c
src/itdb_itunesdb.c
src/itdb_private.h:
Fixed segfault when parsing photo databases introduced by the
new handling of timestamps (all timestamps exported are
host-local time_t).
itdb_time_time_t_to_mac() and itdb_time_mac_to_time_t() were
renamed to device_*() and take a pointer to an Itdb_Device
instead of a pointer to an Itdb_iTunesDB structure as the latter
does not exist in case of photo databases. All references to
those two functions were changed accordingly and the functions
themselves were moved from itdb_itunesdb.c to itdb_device.c.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1439 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_private.h')
-rw-r--r-- | src/itdb_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/itdb_private.h b/src/itdb_private.h index 49269b2..f3951bb 100644 --- a/src/itdb_private.h +++ b/src/itdb_private.h @@ -151,9 +151,9 @@ G_GNUC_INTERNAL gint itdb_get_free_photo_id ( Itdb_PhotoDB *db ); G_GNUC_INTERNAL Itdb_iTunesDB *db_get_itunesdb (Itdb_DB *db); G_GNUC_INTERNAL Itdb_PhotoDB *db_get_photodb (Itdb_DB *db); G_GNUC_INTERNAL gint itdb_thumb_get_byteorder (ItdbThumbFormat format); -G_GNUC_INTERNAL time_t itdb_time_mac_to_time_t (Itdb_iTunesDB *db, +G_GNUC_INTERNAL time_t device_time_mac_to_time_t (Itdb_Device *device, guint64 mactime); -G_GNUC_INTERNAL guint64 itdb_time_time_t_to_mac (Itdb_iTunesDB *db, +G_GNUC_INTERNAL guint64 device_time_time_t_to_mac (Itdb_Device *device, time_t timet); G_GNUC_INTERNAL gint itdb_musicdirs_number_by_mountpoint (const gchar *mountpoint); #endif |