test content sniffing capability of gio

svn path=/trunk/; revision=20837
This commit is contained in:
Matthias Clasen
2008-07-15 16:33:24 +00:00
parent 2452be453b
commit 1ea43444be
4 changed files with 49 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2008-07-15 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-io.c: Move the check for wheter to use
GIO for sniffing to configure.
2008-07-14 Matthias Clasen <mclasen@redhat.com>
Bug 401985 Documentation improvement for the

View File

@ -51,11 +51,6 @@
#define SNIFF_BUFFER_SIZE 4096
#define LOAD_BUFFER_SIZE 65536
#ifndef G_OS_WIN32
/* GIO doesn't do mime sniffing on Win32, so we need to do our own */
#define GDK_PIXBUF_USE_GIO_MIME 1
#endif
#ifndef GDK_PIXBUF_USE_GIO_MIME
static gint
format_check (GdkPixbufModule *module, guchar *buffer, int size)