forked from Mirrors/flatpak-builder
Add xdg_app_installed_ref_get_subpaths
This was in the header, but not the codetingping/wmclass
parent
b3d854f507
commit
36d0a2fe2a
|
@ -282,6 +282,22 @@ xdg_app_installed_ref_get_is_current (XdgAppInstalledRef *self)
|
||||||
return priv->is_current;
|
return priv->is_current;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* xdg_app_installed_ref_get_subpaths:
|
||||||
|
* @self: a #XdgAppInstalledRef
|
||||||
|
*
|
||||||
|
* Returns the subpaths that are installed, or %NULL if all files installed.
|
||||||
|
*
|
||||||
|
* Returns: (transfer none): A strv, or %NULL
|
||||||
|
*/
|
||||||
|
const char * const*
|
||||||
|
xdg_app_installed_ref_get_subpaths (XdgAppInstalledRef *self)
|
||||||
|
{
|
||||||
|
XdgAppInstalledRefPrivate *priv = xdg_app_installed_ref_get_instance_private (self);
|
||||||
|
|
||||||
|
return (const char * const *) priv->subpaths;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* xdg_app_installed_ref_get_installed_size:
|
* xdg_app_installed_ref_get_installed_size:
|
||||||
* @self: a #XdgAppInstalledRef
|
* @self: a #XdgAppInstalledRef
|
||||||
|
|
|
@ -49,7 +49,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(XdgAppInstalledRef, g_object_unref)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
XDG_APP_EXTERN const char *xdg_app_installed_ref_get_origin (XdgAppInstalledRef *self);
|
XDG_APP_EXTERN const char *xdg_app_installed_ref_get_origin (XdgAppInstalledRef *self);
|
||||||
XDG_APP_EXTERN const char **xdg_app_installed_ref_get_subpaths (XdgAppInstalledRef *self);
|
XDG_APP_EXTERN const char * const*xdg_app_installed_ref_get_subpaths (XdgAppInstalledRef *self);
|
||||||
XDG_APP_EXTERN guint64 xdg_app_installed_ref_get_installed_size (XdgAppInstalledRef *self);
|
XDG_APP_EXTERN guint64 xdg_app_installed_ref_get_installed_size (XdgAppInstalledRef *self);
|
||||||
XDG_APP_EXTERN const char *xdg_app_installed_ref_get_deploy_dir (XdgAppInstalledRef *self);
|
XDG_APP_EXTERN const char *xdg_app_installed_ref_get_deploy_dir (XdgAppInstalledRef *self);
|
||||||
XDG_APP_EXTERN const char *xdg_app_installed_ref_get_latest_commit (XdgAppInstalledRef *self);
|
XDG_APP_EXTERN const char *xdg_app_installed_ref_get_latest_commit (XdgAppInstalledRef *self);
|
||||||
|
|
Loading…
Reference in New Issue