From 573a73f3915a74b72a1f13c24beafc749b56e3d3 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 1 Feb 2008 13:17:04 +0000 Subject: [PATCH] assign the return value of xdg_mime_list_mime_parents() to a variable of 2008-02-01 Michael Natterer * gcontenttype.c (_g_unix_content_type_get_parents): assign the return value of xdg_mime_list_mime_parents() to a variable of the correct type. svn path=/trunk/; revision=6441 --- gio/ChangeLog | 6 ++++++ gio/gcontenttype.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 4de9aa5a..d7f36ab4 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,9 @@ +2008-02-01 Michael Natterer + + * gcontenttype.c (_g_unix_content_type_get_parents): assign the + return value of xdg_mime_list_mime_parents() to a variable of the + correct type. + 2008-02-01 Alexander Larsson * gappinfo.c (g_app_info_launch_uris): diff --git a/gio/gcontenttype.c b/gio/gcontenttype.c index a5cc41fa..2b0f9d0b 100644 --- a/gio/gcontenttype.c +++ b/gio/gcontenttype.c @@ -322,7 +322,7 @@ char ** _g_unix_content_type_get_parents (const char *type) { const char *umime; - const char **parents; + char **parents; GPtrArray *array; int i; -- 2.34.1