Chun-wei Fan 39a62a064b gio/test/resources.c: Fix for Windows
We need to use g_content_type_get_mime_type() to look up the mime type of
the file from the registry on the content type that was acquired on
Windows, as g_file_info_get_content_type() does not acquire the
file mime type (unlike on *NIX).

g_content_type_get_mime_type() on *NIX is more or less an no-op as it
simply returns the g_strdup()-ed version of the passed-in content type.

This will enable the resources test to pass on Windows.

https://bugzilla.gnome.org/show_bug.cgi?id=711047
2013-11-04 10:30:57 +08:00
..
2013-07-11 12:35:45 -04:00
2010-07-05 00:56:12 -04:00
2013-07-11 13:49:20 -04:00
2012-10-16 09:39:24 -04:00
2013-05-29 09:03:32 -04:00
2012-10-16 09:39:24 -04:00
2010-04-17 01:48:05 -04:00
2012-10-16 09:39:24 -04:00
2013-06-02 09:53:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-06-02 01:42:28 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-09-23 16:31:40 -04:00
2013-06-02 01:44:15 -04:00
2013-10-27 17:23:17 -07:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2013-03-13 09:41:09 -04:00
2013-06-02 01:46:21 -04:00
2013-06-02 20:02:06 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-12-12 15:20:22 +01:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00
2012-10-16 09:39:24 -04:00