Bug 16413

Summary: image/x-ico differences between gdk-pixbuf and shared-mime-info
Product: shared-mime-info Reporter: Matthias Clasen <mclasen>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Matthias Clasen 2008-06-18 08:11:40 UTC
gdk-pixbuf has image/x-icon as an alias for image/x-ico.
Also, it has magic:

        static GdkPixbufModulePattern signature[] = {
                { "  \x1   ", "zz znz", 100 },
                { "  \x2   ", "zz znz", 100 },
                { NULL, NULL, 0 }
        };

It is possible that one of the magic strings matches .cur files instead,
since the ico loader also loads those.
Comment 1 Bastien Nocera 2008-06-19 02:19:00 UTC
The first one is for icons, the second one for cursor (double-checked on filext.com).

* freedesktop.org.xml.in: Add magic from gdk-pixbuf for
ICO and CUR files, spotted by Matthias Clasen <mclasen@redhat.com>
(Closes: #16413)
* tests/aero_alt.cur:
* tests/list: Add a test windows cursor file

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.