aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/elementary/popup_cxx_example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/popup_cxx_example.cc')
-rw-r--r--src/examples/elementary/popup_cxx_example.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/elementary/popup_cxx_example.cc b/src/examples/elementary/popup_cxx_example.cc
index b6c78322f9..a6a29ed955 100644
--- a/src/examples/elementary/popup_cxx_example.cc
+++ b/src/examples/elementary/popup_cxx_example.cc
@@ -3,6 +3,7 @@
#define EFL_CXXPERIMENTAL
#include <Evas.hh>
+#include <Efl_Ui.h>
#include <Elementary.hh>
#include <iostream>
@@ -207,11 +208,11 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
backwall_visible = !backwall_visible;
if (backwall_visible) {
- efl::eo::downcast<efl::File>(g_popup.part_get("backwall")).file_set("./sky_01.jpg", nullptr);
+ efl::eo::downcast<efl::File>(g_popup.part_get("backwall")).file_set("./sky_01.jpg");
backwall_btn.text_set("Unset Backwall");
}
else {
- efl::eo::downcast<efl::File>(g_popup.part_get("backwall")).file_set(nullptr, nullptr);
+ efl::eo::downcast<efl::File>(g_popup.part_get("backwall")).file_set(nullptr);
backwall_btn.text_set("Set Backwall");
}
}));