mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use XDP::kObjectPath for session and request paths
This commit is contained in:
@@ -105,8 +105,8 @@ void PortalAutostart(bool enabled, Fn<void(bool)> done) {
|
||||
uniqueName.erase(0, 1);
|
||||
uniqueName.replace(uniqueName.find('.'), 1, 1, '_');
|
||||
|
||||
const auto requestPath = Glib::ustring(
|
||||
"/org/freedesktop/portal/desktop/request/")
|
||||
const auto requestPath = base::Platform::XDP::kObjectPath
|
||||
+ Glib::ustring("/request/")
|
||||
+ uniqueName
|
||||
+ '/'
|
||||
+ handleToken;
|
||||
|
Reference in New Issue
Block a user