Commit graph

9 commits

Author SHA1 Message Date
Sebastian Dröge
f429818589 xdgmime: Reduce probability to POSSIBLE 2009-03-02 16:29:01 +01:00
Sebastian Dröge
de61b45025 xdgmime: Add locking to the xdg_mime_* calls as it's not thread-safe 2009-03-02 16:27:55 +01:00
Sebastian Dröge
f957ee0aeb xdgmime: Use g_pattern_match_simple() instead of fnmatch() for Win32 compatibility 2009-03-01 20:18:30 +01:00
LRN
e571138ef6 xdgmime: Fix unused variable compiler warning 2009-03-01 20:13:31 +01:00
Sebastian Dröge
8c4584aa56 xdgmime: Don't warn if we have no MMAP support 2009-03-01 20:12:12 +01:00
Sebastian Dröge
39850d674e xdgmime: Use g_ntoh[ls] instead of the non-GLib functions for Win32 compatibility 2009-03-01 20:11:07 +01:00
Sebastian Dröge
b30926428d xdgmime: Use G_BYTE_ORDER instead of relying on LITTLE_ENDIAN to be defined 2009-03-01 20:09:24 +01:00
Sebastian Dröge
546bfbecb8 xdgmime: Use empty caps for registering the typefinders with old core versions
core before 0.10.22.1 produced assertions when storing typefind factories
with NULL caps in the registry.
2009-02-27 20:21:23 +01:00
Sebastian Dröge
ab1c576ec2 xdgmime: Add new typefinder based on xdgmime
This typefinder is mostly useful to filter out any false positives
by the other typefinders like the usual Word document misdetected as
MP3 file.
2009-02-24 15:26:27 +01:00