summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/queryloaders.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-05-29 21:04:52 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-05-29 21:04:52 +0000
commit9038f2ce984e005ce04a7a40d45fe83fa79fd342 (patch)
treed6519934a281a07f2e838d26290f051db8f17701 /gdk-pixbuf/queryloaders.c
parent1360578f6c925b9e4f2be98b7aec90dee43ad17b (diff)
downloadgtk+-9038f2ce984e005ce04a7a40d45fe83fa79fd342.tar.gz
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. svn path=/trunk/; revision=20241
Diffstat (limited to 'gdk-pixbuf/queryloaders.c')
-rw-r--r--gdk-pixbuf/queryloaders.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c
index 6a3a7c5694..bf98b10420 100644
--- a/gdk-pixbuf/queryloaders.c
+++ b/gdk-pixbuf/queryloaders.c
@@ -127,9 +127,9 @@ write_loader_info (const char *path, GdkPixbufFormat *info)
char **ext;
g_printf("\"%s\"\n", path);
- g_printf ("\"%s\" %u \"%s\" \"%s\"\n",
+ g_printf ("\"%s\" %u \"%s\" \"%s\" \"%s\"\n",
info->name, info->flags,
- info->domain ? info->domain : GETTEXT_PACKAGE, info->description);
+ info->domain ? info->domain : GETTEXT_PACKAGE, info->description, info->license);
for (mime = info->mime_types; *mime; mime++) {
g_printf ("\"%s\" ", *mime);
}