eolian-cxx: Fixed exapmle with support for complex types

Automatic conversion of Evas_Object* to evas::object wrapper broke the
example. Fixed it by using the new feature :).
This commit is contained in:
Felipe Magno de Almeida 2014-07-18 17:58:45 -03:00
parent c1e8918b88
commit b1c9ca5c24
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ example_complex_types()
text1.visibility_set(true);
int t1w, t1h;
text1.size_get(&t1w, &t1h);
grid.pack(text1._eo_ptr(), 1, 1, t1w, t1h);
grid.pack(text1, 1, 1, t1w, t1h);
efl::evas::text text2(efl::eo::parent = canvas);
text2.style_set(EVAS_TEXT_STYLE_PLAIN);