]> Pileus Git - ~andy/gtk/commitdiff
Fix the mime sniffing test
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 7 Aug 2008 14:44:59 +0000 (14:44 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 7 Aug 2008 14:44:59 +0000 (14:44 +0000)
svn path=/trunk/; revision=21038

ChangeLog
configure.in

index e36f5a9248de86336ad22c1feab0bc02704fbe4c..e0c48e3559cbabaa08a8731a204834ac0df7dd72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: 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  <timj@imendio.com>
 
        * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
index f4d5c507c26acdd163758cffc3252ce8700c7fd9..8ad226c984a9af67c67bf9c7a9d9b334acba832a 100644 (file)
@@ -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