forked from enlightenment/efl
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:
parent
c1e8918b88
commit
b1c9ca5c24
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue