Fix portal path handling
authorMatthias Clasen <mclasen@redhat.com>
Wed, 5 Sep 2018 23:54:32 +0000 (19:54 -0400)
committerIain Lane <laney@debian.org>
Tue, 11 Sep 2018 16:33:38 +0000 (17:33 +0100)
This was broken when I recently introduced this helper
function.

Origin: upstream, commit:47122288b82e50b88e3185d960e2ba5ee8a27a36
Applied-Upstream: 3.24.1

Gbp-Pq: Name Fix-portal-path-handling.patch

gtk/gtkprivate.c

index 6428347f04a49bd723287999fd63c09cf8253df0..a437047658e51053d8ee1286305963ae7a2a3a42 100644 (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);