--- Telegram/SourceFiles/platform/linux/specific_linux.cpp.orig 2026-07-14 11:41:00 UTC +++ Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -66,7 +66,7 @@ void PortalAutostart(bool enabled, Fn done Gio::DBusProxyFlags::NONE_, base::Platform::XDP::kService, base::Platform::XDP::kObjectPath, - [=](GObject::Object, Gio::AsyncResult res) { + [=](auto, Gio::AsyncResult res) { auto proxy = XdpBackground::BackgroundProxy::new_for_bus_finish( res); @@ -119,7 +119,7 @@ void PortalAutostart(bool enabled, Fn done + '/' + handleToken, nullptr, - [=](GObject::Object, Gio::AsyncResult res) mutable { + [=](auto, Gio::AsyncResult res) mutable { auto requestProxy = XdpRequest::RequestProxy::new_finish( res); @@ -194,7 +194,7 @@ void PortalAutostart(bool enabled, Fn done GLib::Variant::new_variant( GLib::Variant::new_boolean(false))), }), - [=](GObject::Object, Gio::AsyncResult res) mutable { + [=](auto, Gio::AsyncResult res) mutable { auto &sandbox = Core::Sandbox::Instance(); sandbox.customEnterFromEventLoop([&] { const auto result = @@ -449,7 +449,7 @@ bool GenerateServiceFile(bool silent = false) { Gio::DBusProxyFlags::NONE_, base::Platform::DBus::kService, base::Platform::DBus::kObjectPath, - [=](GObject::Object, Gio::AsyncResult res) { + [=](auto, Gio::AsyncResult res) { auto interface = XdgDBus::DBus( XdgDBus::DBusProxy::new_for_bus_finish(res, nullptr)); @@ -550,7 +550,7 @@ void PortalCheckScheme( Gio::DBusProxyFlags::NONE_, base::Platform::XDP::kService, base::Platform::XDP::kObjectPath, - [=](GObject::Object, Gio::AsyncResult res) { + [=](auto, Gio::AsyncResult res) { auto interface = XdpOpenURI::OpenURI( XdpOpenURI::OpenURIProxy::new_for_bus_finish(res, nullptr)); @@ -564,7 +564,7 @@ void PortalCheckScheme( GLib::Variant::new_array( GLib::VariantType::new_("{sv}"), {}), - [=](GObject::Object, Gio::AsyncResult res) mutable { + [=](auto, Gio::AsyncResult res) mutable { const auto result = interface.call_scheme_supported_finish(res);