]> www.fi.muni.cz Git - evince.git/commitdiff
(mime_type_supported_by_gdk_pixbuf): #ifdef this away to fix an
authorMartin Kretzschmar <martink@src.gnome.org>
Fri, 22 Jul 2005 16:22:20 +0000 (16:22 +0000)
committerMartin Kretzschmar <martink@src.gnome.org>
Fri, 22 Jul 2005 16:22:20 +0000 (16:22 +0000)
unused-function warning.

ChangeLog
backend/ev-document-factory.c

index 8c5b37cfebe582bca2bfe3f9405e7504dc8a32f5..d5a1f33ca89c8207e11a06592ddbe70db1fcceca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-22  Martin Kretzschmar  <martink@gnome.org>
+
+       * backend/ev-document-factory.c (mime_type_supported_by_gdk_pixbuf): 
+       #ifdef this away to fix an unused-function warning.
+
 2005-07-22  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>
 
        * configure.ac: Added 'gl' to ALL_LINGUAS.
index 7071f844ff62c0a23ce5937e42417e0ff28d0c4f..0f85c7c5ee4bc649fce94f16ac0a9ec7a2dfa850 100644 (file)
@@ -71,6 +71,7 @@ const EvDocumentType document_types[] = {
 #endif
 };
 
+#ifdef ENABLE_PIXBUF
 /* Would be nice to have this in gdk-pixbuf */
 static gboolean
 mime_type_supported_by_gdk_pixbuf (const gchar *mime_type)
@@ -108,7 +109,7 @@ mime_type_supported_by_gdk_pixbuf (const gchar *mime_type)
 
        return retval;
 }
-
+#endif
 
 static GType
 ev_document_type_get_from_mime (const char *mime_type)