diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-09 11:07:53 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-09 11:11:55 +0200 |
commit | 8abbc0186efe977cec2a3214e7aa3703e9f1169f (patch) | |
tree | f02d20ec637609e32d473e45b1ad8b6a8a6de281 /document-portal | |
parent | ba37b22d78f3b1011ceab182c8a4a05d5ba630a7 (diff) | |
download | xdg-app-8abbc0186efe977cec2a3214e7aa3703e9f1169f.tar.gz |
Rename everything but the on-disk location to flatpak
Diffstat (limited to 'document-portal')
-rw-r--r-- | document-portal/xdg-document-portal.service.in | 2 | ||||
-rw-r--r-- | document-portal/xdp-main.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/document-portal/xdg-document-portal.service.in b/document-portal/xdg-document-portal.service.in index ac7769b..66f9cbd 100644 --- a/document-portal/xdg-document-portal.service.in +++ b/document-portal/xdg-document-portal.service.in @@ -1,5 +1,5 @@ [Unit] -Description=xdg-app document portal service +Description=flatpak document portal service [Service] BusName=org.freedesktop.portal.Documents diff --git a/document-portal/xdp-main.c b/document-portal/xdp-main.c index 52b0b93..28e3509 100644 --- a/document-portal/xdp-main.c +++ b/document-portal/xdp-main.c @@ -36,7 +36,7 @@ typedef struct static GMainLoop *loop = NULL; static FlatpakDb *db = NULL; -static XdgAppPermissionStore *permission_store; +static FlatpakPermissionStore *permission_store; static int daemon_event_fd = -1; static int final_exit_status = 0; static dev_t fuse_dev = 0; @@ -89,7 +89,7 @@ do_set_permissions (FlatpakDbEntry *entry, if (persist_entry (new_entry)) { - xdg_app_permission_store_call_set_permission (permission_store, + flatpak_permission_store_call_set_permission (permission_store, TABLE_NAME, FALSE, doc_id, @@ -243,7 +243,7 @@ portal_delete (GDBusMethodInvocation *invocation, flatpak_db_set_entry (db, id, NULL); if (persist_entry (entry)) - xdg_app_permission_store_call_delete (permission_store, TABLE_NAME, + flatpak_permission_store_call_delete (permission_store, TABLE_NAME, id, NULL, NULL, NULL); } @@ -303,7 +303,7 @@ do_create_doc (struct stat *parent_st_buf, const char *path, gboolean reuse_exis if (persistent) { - xdg_app_permission_store_call_set (permission_store, + flatpak_permission_store_call_set (permission_store, TABLE_NAME, TRUE, id, @@ -821,7 +821,7 @@ main (int argc, do_exit (3); } - permission_store = xdg_app_permission_store_proxy_new_sync (session_bus, G_DBUS_PROXY_FLAGS_NONE, + permission_store = flatpak_permission_store_proxy_new_sync (session_bus, G_DBUS_PROXY_FLAGS_NONE, "org.freedesktop.Flatpak", "/org/freedesktop/Flatpak/PermissionStore", NULL, &error); |