Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kretzschmar <martink@src.gnome.org>2005-07-22 16:22:20 (GMT)
committer Martin Kretzschmar <martink@src.gnome.org>2005-07-22 16:22:20 (GMT)
commit6ce200550f7a34c878968320bfacd11591da4482 (patch)
tree92eb3f59069f3e0d301f7c3c6b97778f664b2760
parentb22b3f0d2cf3daa45baae4a90db6c2139dffd892 (diff)
(mime_type_supported_by_gdk_pixbuf): #ifdef this away to fix an
unused-function warning.
-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)