#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)
return retval;
}
-
+#endif
static GType
ev_document_type_get_from_mime (const char *mime_type)
return document_types[i].document_type_factory_callback();
}
}
-
+#ifdef ENABLE_PIXBUF
if (mime_type_supported_by_gdk_pixbuf (mime_type)) {
return pixbuf_document_get_type ();
}
+#endif
return G_TYPE_INVALID;
}