summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-01-07 12:38:23 +0000
committerLinus Groh <mail@linusgroh.de>2023-01-07 14:39:30 +0100
commitf0395a20428230ee680c6f92efd68dedd040c658 (patch)
treee391a4ef7736281c4d2c93dcba862060e935825d /Userland/Libraries/LibGUI/EmojiInputDialog.cpp
parente4e12f3a961efd5f0ce0204becd3ce762a458c4c (diff)
downloadserenity-f0395a20428230ee680c6f92efd68dedd040c658.zip
LibGUI+Userland: Rename `try_load_from_gml()` -> `load_from_gml()` :^)
It's the only one, so the `try` prefix is unnecessary now.
Diffstat (limited to 'Userland/Libraries/LibGUI/EmojiInputDialog.cpp')
-rw-r--r--Userland/Libraries/LibGUI/EmojiInputDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/EmojiInputDialog.cpp b/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
index 5c0752b3bb..4d6ba70caf 100644
--- a/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
+++ b/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
@@ -93,7 +93,7 @@ EmojiInputDialog::EmojiInputDialog(Window* parent_window)
, m_category_action_group(make<ActionGroup>())
{
auto main_widget = set_main_widget<Frame>().release_value_but_fixme_should_propagate_errors();
- main_widget->try_load_from_gml(emoji_input_dialog_gml).release_value_but_fixme_should_propagate_errors();
+ main_widget->load_from_gml(emoji_input_dialog_gml).release_value_but_fixme_should_propagate_errors();
set_window_type(GUI::WindowType::Popup);
set_window_mode(GUI::WindowMode::Modeless);