From eb21aa65d131f6fb382ad80d672e5a7ffb1a21e1 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 3 May 2021 13:55:29 +0200 Subject: Userland: Make IPC results with one return value available directly This changes client methods so that they return the IPC response's return value directly - instead of the response struct - for IPC methods which only have a single return value. --- Userland/Libraries/LibGUI/Desktop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/Desktop.cpp') diff --git a/Userland/Libraries/LibGUI/Desktop.cpp b/Userland/Libraries/LibGUI/Desktop.cpp index 8dda3d099f..9c0e05296a 100644 --- a/Userland/Libraries/LibGUI/Desktop.cpp +++ b/Userland/Libraries/LibGUI/Desktop.cpp @@ -59,7 +59,7 @@ bool Desktop::set_wallpaper(const StringView& path, bool save_config) String Desktop::wallpaper() const { - return WindowServerConnection::the().get_wallpaper().path(); + return WindowServerConnection::the().get_wallpaper(); } } -- cgit v1.2.3