cxx: fix example with recent change.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 6 Jan 2017 23:37:49 +0000 (15:37 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 6 Jan 2017 23:58:46 +0000 (15:58 -0800)
src/examples/elementary/button_cxx_example_00.cc

index c441dae..99901d2 100644 (file)
@@ -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);