Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--backend/ev-document-factory.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c5b37c..d5a1f33 100644
--- 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.
diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c
index 7071f84..0f85c7c 100644
--- a/backend/ev-document-factory.c
+++ b/backend/ev-document-factory.c
@@ -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)