From 6ce200550f7a34c878968320bfacd11591da4482 Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Fri, 22 Jul 2005 16:22:20 +0000 Subject: (mime_type_supported_by_gdk_pixbuf): #ifdef this away to fix an unused-function warning. --- (limited to 'backend') 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) -- cgit v0.9.1