From: Martin Kretzschmar Date: Fri, 22 Jul 2005 16:22:20 +0000 (+0000) Subject: (mime_type_supported_by_gdk_pixbuf): #ifdef this away to fix an X-Git-Tag: EVINCE_0_3_3~95 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=6ce200550f7a34c878968320bfacd11591da4482;p=evince.git (mime_type_supported_by_gdk_pixbuf): #ifdef this away to fix an unused-function warning. --- diff --git a/ChangeLog b/ChangeLog index 8c5b37cf..d5a1f33c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-22 Martin Kretzschmar + + * 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 * configure.ac: Added 'gl' to ALL_LINGUAS. diff --git a/backend/ev-document-factory.c b/backend/ev-document-factory.c index 7071f844..0f85c7c5 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)