diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-10-21 10:23:37 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-10-21 10:23:37 +0200 |
commit | 64d7c00045b7e0031f4ce4c87475b9ef22622ead (patch) | |
tree | d513d2fdafe53bfc2e678d8b218bfc6705164641 /document-portal/xdp-main.c | |
parent | 3a47f0b282817fec23a9774a02a20976fcc7cc9a (diff) | |
download | xdg-app-64d7c00045b7e0031f4ce4c87475b9ef22622ead.tar.gz |
Move dbus invocation peer app detection to lib/
Diffstat (limited to 'document-portal/xdp-main.c')
-rw-r--r-- | document-portal/xdp-main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/document-portal/xdp-main.c b/document-portal/xdp-main.c index 4168e22..33b8757 100644 --- a/document-portal/xdp-main.c +++ b/document-portal/xdp-main.c @@ -471,7 +471,7 @@ got_app_id_cb (GObject *source_object, g_autofree char *app_id = NULL; PortalMethod portal_method = user_data; - app_id = xdp_invocation_lookup_app_id_finish (invocation, res, &error); + app_id = xdg_app_invocation_lookup_app_id_finish (invocation, res, &error); if (app_id == NULL) g_dbus_method_invocation_return_gerror (invocation, error); @@ -483,7 +483,7 @@ static gboolean handle_method (GCallback method_callback, GDBusMethodInvocation *invocation) { - xdp_invocation_lookup_app_id (invocation, NULL, got_app_id_cb, method_callback); + xdg_app_invocation_lookup_app_id (invocation, NULL, got_app_id_cb, method_callback); return TRUE; } @@ -511,7 +511,7 @@ on_bus_acquired (GDBusConnection *connection, g_signal_connect_swapped (helper, "handle-revoke-permissions", G_CALLBACK (handle_method), portal_revoke_permissions); g_signal_connect_swapped (helper, "handle-delete", G_CALLBACK (handle_method), portal_delete); - xdp_connection_track_name_owners (connection); + xdg_app_connection_track_name_owners (connection); if (!g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (helper), connection, |