--- itdb_artwork.c~ 2007-05-07 07:42:09.000000000 -0400 +++ itdb_artwork.c 2007-06-28 10:41:02.000000000 -0400 @@ -849,9 +849,11 @@ g_return_if_fail (thumb); g_free (thumb->image_data); +#ifdef HAVE_GDKPIXBUF if (thumb->pixbuf) { g_object_unref (G_OBJECT (thumb->pixbuf)); } +#endif g_free (thumb->filename); g_free (thumb); } @@ -883,9 +885,11 @@ memcpy (new_thumb->image_data, thumb->image_data, new_thumb->image_data_len); } +#ifdef HAVE_GDKPIXBUF if (thumb->pixbuf) { g_object_ref (G_OBJECT (thumb->pixbuf)); } +#endif return new_thumb; }