After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 535453 - gdk_pixbuf_format_get_license returns NULL for any of the loaders
gdk_pixbuf_format_get_license returns NULL for any of the loaders
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-05-29 10:29 UTC by Andrey Tsyvarev
Modified: 2010-07-10 04:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrey Tsyvarev 2008-05-29 10:29:29 UTC
gdk_pixbuf_format_get_license returns NULL for any of the loaders including the default ones created by gtk developers themselves. 

According to the source code of these loaders one might suggest that the loaders set "license" field properly (its value is "LGPL"). However there is nothing about licenses in the gdk-pixbuf.loaders file containing information about available loaders. Perhaps this has something to do with the fact that gdk_pixbuf_format_get_license returns NULL. 

The description of gdk_pixbuf_format_get_license states:

Returns information about the license of the image loader for the format. The returned string should be a shorthand for a wellknown license, e.g. "LGPL", "GPL", "QPL", "GPL/QPL", or "other" to indicate some other license.


The detailed bug description can be found at: 

http://linuxtesting.org/results/report?num=S0642
Comment 1 Matthias Clasen 2008-05-29 21:05:01 UTC
        Bug 535453 - gdk_pixbuf_format_get_license returns NULL for
        any of the loaders

        * queryloaders.c (write_loader_info): Add the license info
        after the description.

        * gdk-pixbuf-io.c (gdk_pixbuf_io_init): Read the license info
        from the module file. Reported by Andrey Tsyvarev.