From: Cedric BAIL Date: Fri, 6 Jan 2017 23:37:49 +0000 (-0800) Subject: cxx: fix example with recent change. X-Git-Tag: upstream/1.20.0~2504 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf501ee7eb3a89966b283f384c077074e660cd23;p=platform%2Fupstream%2Fefl.git cxx: fix example with recent change. --- diff --git a/src/examples/elementary/button_cxx_example_00.cc b/src/examples/elementary/button_cxx_example_00.cc index c441dae..99901d2 100644 --- a/src/examples/elementary/button_cxx_example_00.cc +++ b/src/examples/elementary/button_cxx_example_00.cc @@ -24,7 +24,7 @@ elm_main (int argc, char *argv[]) win.autohide_set(true); ::elm::Button btn(win); - btn.text_set(nullptr,"Good-Bye, World!"); + btn.eo_cxx::efl::Text::text_set("Good-Bye, World!"); btn.eo_cxx::efl::Gfx::size_set(120, 30); btn.eo_cxx::efl::Gfx::position_set(60, 15); btn.visible_set(true);