From: Michael Natterer Date: Fri, 1 Feb 2008 13:17:04 +0000 (+0000) Subject: assign the return value of xdg_mime_list_mime_parents() to a variable of X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=573a73f3915a74b72a1f13c24beafc749b56e3d3;p=dana%2Fcg-glib.git 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 --- 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;