[gtk] Fix portal path handling



commit ae2c765ffd63f3c05d08d476df2a87ee6092c011
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 5 19:54:32 2018 -0400

    Fix portal path handling
    
    This was broken when I recently introduced this helper
    function.

 gtk/gtkprivate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkprivate.c b/gtk/gtkprivate.c
index 58618508d3..0d3dfd78a0 100644
--- a/gtk/gtkprivate.c
+++ b/gtk/gtkprivate.c
@@ -308,7 +308,7 @@ get_portal_path (GDBusConnection  *connection,
     if (sender[i] == '.')
       sender[i] = '_';
 
-  path = g_strconcat (PORTAL_OBJECT_PATH, "/", kind, "/", sender, "/", token, NULL);
+  path = g_strconcat (PORTAL_OBJECT_PATH, "/", kind, "/", sender, "/", *token, NULL);
 
   g_free (sender);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]