From 7e699a959aadb95642d7667b912959a141da9fb6 Mon Sep 17 00:00:00 2001 From: Jorg Schuler Date: Fri, 9 Dec 2005 15:07:22 +0000 Subject: * src/itdb_artwork.c: fix compilation problem when gdkpixbuf is not present. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1190 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- src/itdb_artwork.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/itdb_artwork.c b/src/itdb_artwork.c index 53a19f7..8e34199 100644 --- a/src/itdb_artwork.c +++ b/src/itdb_artwork.c @@ -1,4 +1,4 @@ -/* Time-stamp: <2005-12-06 22:20:39 jcs> +/* Time-stamp: <2005-12-10 00:03:26 jcs> | | Copyright (C) 2002-2005 Jorg Schuler | Part of the gtkpod project. @@ -213,6 +213,7 @@ gchar *itdb_thumb_get_filename (IpodDevice *device, Itdb_Thumb *thumb) } +#if HAVE_GDKPIXBUF static guchar * unpack_RGB_565 (guint16 *pixels, guint bytes_len) { @@ -327,6 +328,7 @@ itdb_thumb_get_rgb_data (IpodDevice *device, Itdb_Thumb *thumb) return pixels; } +#endif -- cgit