mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-27 00:59:19 -05:00
lib: Export xdg_app_context_set_session_bus_policy
This commit is contained in:
@@ -312,7 +312,7 @@ xdg_app_context_set_env_var (XdgAppContext *context,
|
||||
g_hash_table_insert (context->env_vars, g_strdup (name), g_strdup (value));
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
xdg_app_context_set_session_bus_policy (XdgAppContext *context,
|
||||
const char *name,
|
||||
XdgAppPolicy policy)
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#define __XDG_APP_RUN_H__
|
||||
|
||||
#include "libglnx/libglnx.h"
|
||||
#include "dbus-proxy/xdg-app-proxy.h"
|
||||
|
||||
void xdg_app_run_in_transient_unit (const char *app_id);
|
||||
|
||||
@@ -47,6 +48,9 @@ gboolean xdg_app_context_load_metadata (XdgAppContext
|
||||
void xdg_app_context_save_metadata (XdgAppContext *context,
|
||||
GKeyFile *metakey);
|
||||
void xdg_app_context_allow_host_fs (XdgAppContext *context);
|
||||
void xdg_app_context_set_session_bus_policy (XdgAppContext *context,
|
||||
const char *name,
|
||||
XdgAppPolicy policy);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(XdgAppContext, xdg_app_context_free)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user