diff options
author | Kalev Lember <klember@redhat.com> | 2018-09-06 23:53:04 +0200 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2018-09-06 23:53:04 +0200 |
commit | 9e9fad088b81aa375bbdb4286bb869337c692ce2 (patch) | |
tree | e75a19853a1e6c2db0f480148606e1f285fb4eaf /0001-Fix-portal-path-handling.patch | |
parent | Update to 3.24.0 (diff) | |
download | gtk3-classic-build-gtk3-9e9fad088b81aa375bbdb4286bb869337c692ce2.tar.gz gtk3-classic-build-gtk3-9e9fad088b81aa375bbdb4286bb869337c692ce2.tar.bz2 gtk3-classic-build-gtk3-9e9fad088b81aa375bbdb4286bb869337c692ce2.zip |
Backport two bugfixes from upstream
Diffstat (limited to '0001-Fix-portal-path-handling.patch')
-rw-r--r-- | 0001-Fix-portal-path-handling.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/0001-Fix-portal-path-handling.patch b/0001-Fix-portal-path-handling.patch new file mode 100644 index 0000000..0092a1f --- /dev/null +++ b/0001-Fix-portal-path-handling.patch @@ -0,0 +1,27 @@ +From 47122288b82e50b88e3185d960e2ba5ee8a27a36 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen <mclasen@redhat.com> +Date: Wed, 5 Sep 2018 19:54:32 -0400 +Subject: [PATCH] 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 6428347f04..a437047658 100644 +--- a/gtk/gtkprivate.c ++++ b/gtk/gtkprivate.c +@@ -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); + +-- +2.19.0.rc0 + |