summaryrefslogtreecommitdiffstats
path: root/src/pixmaps.h
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2007-01-09 13:31:14 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2007-01-09 13:31:14 +0000
commitd69a45c2329693157769fccdffeef46bcd33b91b (patch)
tree4881fc1d1d74423e92643d6ab976ba0b465254cd /src/pixmaps.h
parent8537f5c7c58c21fdf6719627b38b3c4d44bc52c9 (diff)
downloadlibgpod-d69a45c2329693157769fccdffeef46bcd33b91b.tar.gz
libgpod-d69a45c2329693157769fccdffeef46bcd33b91b.tar.xz
libgpod-d69a45c2329693157769fccdffeef46bcd33b91b.zip
* src/pixmaps.c
src/pixmaps.h: New files containing last-resort pixmap in case thumbnail/photo could not be added. Will not produce code if the gdk-pixubf library is not present. * src/ithumb-writer.c: use above pixmap instead of red canvas. * src/Makefile.am: added pixmaps.[ch] git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1352 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/pixmaps.h')
-rw-r--r--src/pixmaps.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/pixmaps.h b/src/pixmaps.h
new file mode 100644
index 0000000..8e78e16
--- /dev/null
+++ b/src/pixmaps.h
@@ -0,0 +1,50 @@
+/* Time-stamp: <2007-01-09 21:59:28 jcs>
+|
+| Copyright (C) 2002-2006 Jorg Schuler <jcsjcs at users sourceforge net>
+| Part of the gtkpod project.
+|
+| URL: http://www.gtkpod.org/
+| URL: http://gtkpod.sourceforge.net/
+|
+| Most of the code in this file has been ported from the perl
+| script "mktunes.pl" (part of the gnupod-tools collection) written
+| by Adrian Ulrich <pab at blinkenlights.ch>.
+|
+| gnupod-tools: http://www.blinkenlights.ch/cgi-bin/fm.pl?get=ipod
+|
+| The code contained in this file is free software; you can redistribute
+| it and/or modify it under the terms of the GNU Lesser General Public
+| License as published by the Free Software Foundation; either version
+| 2.1 of the License, or (at your option) any later version.
+|
+| This file is distributed in the hope that it will be useful,
+| but WITHOUT ANY WARRANTY; without even the implied warranty of
+| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+| Lesser General Public License for more details.
+|
+| You should have received a copy of the GNU Lesser General Public
+| License along with this code; if not, write to the Free Software
+| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+|
+| iTunes and iPod are trademarks of Apple
+|
+| This product is not supported/written/published by Apple!
+|
+| $Id$
+*/
+
+#ifndef __PIXMAPS_H__
+#define __PIXMAPS_H__
+
+#include "itdb.h"
+
+#ifdef HAVE_GDKPIXBUF
+
+#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gdk-pixbuf/gdk-pixdata.h>
+
+extern G_GNUC_INTERNAL const GdkPixdata questionmark_pixdata;
+
+#endif
+
+#endif