summaryrefslogtreecommitdiff
path: root/Applications/DisplayProperties/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/DisplayProperties/main.cpp')
-rw-r--r--Applications/DisplayProperties/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/DisplayProperties/main.cpp b/Applications/DisplayProperties/main.cpp
index 409e8f14d5..3dea4c6424 100644
--- a/Applications/DisplayProperties/main.cpp
+++ b/Applications/DisplayProperties/main.cpp
@@ -58,7 +58,7 @@ int main(int argc, char** argv)
window->resize(400, 448);
window->set_resizable(false);
window->set_main_widget(instance.root_widget());
- window->set_icon(load_png("/res/icons/16x16/app-display-properties.png"));
+ window->set_icon(Gfx::load_png("/res/icons/16x16/app-display-properties.png"));
// Let's create the menubar first
auto menubar = make<GUI::MenuBar>();
@@ -71,7 +71,7 @@ int main(int argc, char** argv)
auto help_menu = GUI::Menu::construct("Help");
help_menu->add_action(GUI::Action::create("About", [&](const GUI::Action&) {
- GUI::AboutDialog::show("Display Properties", load_png("/res/icons/32x32/app-display-properties.png"), window);
+ GUI::AboutDialog::show("Display Properties", Gfx::load_png("/res/icons/32x32/app-display-properties.png"), window);
}));
menubar->add_menu(move(help_menu));