GNOME Bugzilla – Bug 535453
gdk_pixbuf_format_get_license returns NULL for any of the loaders
Last modified: 2010-07-10 04:05:02 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:
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.