diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-03 13:55:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-03 21:14:40 +0200 |
commit | eb21aa65d131f6fb382ad80d672e5a7ffb1a21e1 (patch) | |
tree | 674d52f397d8318941e97426b5100c18c8ac885f /Userland/Libraries/LibGUI/Desktop.cpp | |
parent | 5bb79ea0a79322d944368825ec617ccfb8912b81 (diff) | |
download | serenity-eb21aa65d131f6fb382ad80d672e5a7ffb1a21e1.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibGUI/Desktop.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/Desktop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } |