diff --git a/src/sugar3/sugar-fatattr.c b/src/sugar3/sugar-fatattr.c index 40a6ee8d..a7c2a1dc 100644 --- a/src/sugar3/sugar-fatattr.c +++ b/src/sugar3/sugar-fatattr.c @@ -30,6 +30,7 @@ #include #include +#include // This function is wrapped by getattrs/setattrs static int _ioctl_attrs(char *file, __u32 *attrs, int ioctlnum, char *verb) diff --git a/src/sugar3/xdgmime.c b/src/sugar3/xdgmime.c index ec8a6a30..9d51bc8a 100644 --- a/src/sugar3/xdgmime.c +++ b/src/sugar3/xdgmime.c @@ -762,7 +762,7 @@ xdg_mime_mime_type_subclass (const char *mime, /** * sugar_mime_list_mime_parents: * - * Return value: (array zero-terminated=1) (transfer full): + * Return value: (transfer container): **/ char ** xdg_mime_list_mime_parents (const char *mime) @@ -788,6 +788,11 @@ xdg_mime_list_mime_parents (const char *mime) return result; } +/** + * sugar_mime_get_mime_parents: + * + * Return value: (transfer none): + **/ const char ** xdg_mime_get_mime_parents (const char *mime) {