assign the return value of xdg_mime_list_mime_parents() to a variable of
authorMichael Natterer <mitch@imendio.com>
Fri, 1 Feb 2008 13:17:04 +0000 (13:17 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 1 Feb 2008 13:17:04 +0000 (13:17 +0000)
2008-02-01  Michael Natterer  <mitch@imendio.com>

* 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
gio/gcontenttype.c

index 4de9aa5..d7f36ab 100644 (file)
@@ -1,3 +1,9 @@
+2008-02-01  Michael Natterer  <mitch@imendio.com>
+
+       * 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  <alexl@redhat.com>
 
        * gappinfo.c (g_app_info_launch_uris):
index a5cc41f..2b0f9d0 100644 (file)
@@ -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;