welcome: evas_object_rectangle_add needs Evas.

EFL 1.21. is more strict. We need to use an Evas here,
not an Evas_Object. This fixes a horrible bogus display
when choosing a template project.
This commit is contained in:
Alastair Poole 2018-08-19 13:18:41 +01:00
parent 7f151aa92a
commit a0366e2ae9
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ _edi_welcome_project_new_cb(void *data, Evas_Object *obj EINA_UNUSED, void *even
evas_object_size_hint_weight_set(table, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(table, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(table);
rect = evas_object_rectangle_add(table);
rect = evas_object_rectangle_add(evas_object_evas_get(table));
evas_object_size_hint_weight_set(rect, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(rect, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_min_set(rect, 500 * elm_config_scale_get(), 300 * elm_config_scale_get());