Fix the mime sniffing test
svn path=/trunk/; revision=21038
This commit is contained in:
@ -1052,7 +1052,7 @@ if test x$gio_can_sniff = x; then
|
||||
char *content_type;
|
||||
char *image_png;
|
||||
content_type = g_content_type_guess (NULL, data, data_size, NULL);
|
||||
image_png = g_content_type_for_mime_type ("image/png");
|
||||
image_png = g_content_type_from_mime_type ("image/png");
|
||||
return !!strcmp (content_type, image_png);
|
||||
}]])],
|
||||
[gio_can_sniff=yes
|
||||
|
||||
Reference in New Issue
Block a user