Commit e4226cdc authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix the mime sniffing test

svn path=/trunk/; revision=21038
parent 83269a5a
2008-08-07 Matthias Clasen <>
* Its g_content_type_from_mime_type, not
g_content_type_for_mime_type. Noticed by Roger Brown
2008-08-07 16:19:16 Tim Janik <>
* gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
......@@ -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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment