Bug 16413 - image/x-ico differences between gdk-pixbuf and shared-mime-info
Summary: image/x-ico differences between gdk-pixbuf and shared-mime-info
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 08:11 UTC by Matthias Clasen
Modified: 2008-06-19 02:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.