From b7c82bb699c7f9c3cb2eb7aa611eae78d8cc182f Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 9 Mar 2016 16:57:02 -0800 Subject: [PATCH] combobox: fix borkage after eo_add change. toto = titi = eo_add is no longer valid. --- legacy/elementary/src/lib/elc_combobox.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/src/lib/elc_combobox.c b/legacy/elementary/src/lib/elc_combobox.c index 4227cea41a..8f2b14110f 100644 --- a/legacy/elementary/src/lib/elc_combobox.c +++ b/legacy/elementary/src/lib/elc_combobox.c @@ -359,7 +359,8 @@ _elm_combobox_eo_base_constructor(Eo *obj, Elm_Combobox_Data *sd) elm_table_pack(sd->tbl, sd->spacer, 0, 0, 1, 1); // This is the genlist object that will take over the genlist call - sd->genlist = gl = eo_add(&gl, ELM_GENLIST_CLASS, obj); + eo_add(&gl, ELM_GENLIST_CLASS, obj); + sd->genlist = gl; elm_genlist_filter_set(gl, NULL); elm_widget_mirrored_automatic_set(gl, EINA_FALSE); elm_widget_mirrored_set(gl, elm_widget_mirrored_get(obj)); @@ -373,7 +374,8 @@ _elm_combobox_eo_base_constructor(Eo *obj, Elm_Combobox_Data *sd) elm_table_pack(sd->tbl, gl, 0, 0, 1, 1); // This is the entry object that will take over the entry call - sd->entry = entry = eo_add(&entry, ELM_ENTRY_CLASS, obj); + eo_add(&entry, ELM_ENTRY_CLASS, obj); + sd->entry = entry; elm_widget_mirrored_automatic_set(entry, EINA_FALSE); elm_widget_mirrored_set(entry, elm_widget_mirrored_get(obj)); elm_scroller_policy_set(entry, ELM_SCROLLER_POLICY_OFF,