Fix portal path handling

This was broken when I recently introduced this helper
function.
This commit is contained in:
Matthias Clasen 2018-09-05 19:54:32 -04:00
parent 6d5279f3c8
commit 47122288b8

View File

@ -307,7 +307,7 @@ get_portal_path (GDBusConnection *connection,
if (sender[i] == '.')
sender[i] = '_';
path = g_strconcat ("/org/freedesktop/portal/desktop", "/", kind, "/", sender, "/", token, NULL);
path = g_strconcat ("/org/freedesktop/portal/desktop", "/", kind, "/", sender, "/", *token, NULL);
g_free (sender);