summaryrefslogtreecommitdiff
path: root/src/examples/elementary/bg_cxx_example_02.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/bg_cxx_example_02.cc')
-rw-r--r--src/examples/elementary/bg_cxx_example_02.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/bg_cxx_example_02.cc b/src/examples/elementary/bg_cxx_example_02.cc
index 496981984f..f276fdd7bb 100644
--- a/src/examples/elementary/bg_cxx_example_02.cc
+++ b/src/examples/elementary/bg_cxx_example_02.cc
@@ -33,7 +33,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev)
path = "performance/background.png";
efl::ui::Bg bg(instantiate, win);
- bg.scale_type_set(EFL_GFX_IMAGE_SCALE_TYPE_FILL);
+ bg.scale_method_set(EFL_GFX_IMAGE_SCALE_METHOD_FILL);
bg.file_set(path);
bg.load();
win.content_set(bg);