summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-09 16:57:02 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-03-09 16:57:02 -0800
commitda8287fa370bb579a4a592dd280ac5c8a6a25830 (patch)
tree7912fa9083f62f2c3cdcffe5831accb15e4313e3
parent641c6bc7f6d24ad93c4ab854706f3632ff1d13e9 (diff)
combobox: fix borkage after eo_add change.
toto = titi = eo_add is no longer valid.
-rw-r--r--src/lib/elc_combobox.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/elc_combobox.c b/src/lib/elc_combobox.c
index 4227cea41..8f2b14110 100644
--- a/src/lib/elc_combobox.c
+++ b/src/lib/elc_combobox.c
@@ -359,7 +359,8 @@ _elm_combobox_eo_base_constructor(Eo *obj, Elm_Combobox_Data *sd)
359 elm_table_pack(sd->tbl, sd->spacer, 0, 0, 1, 1); 359 elm_table_pack(sd->tbl, sd->spacer, 0, 0, 1, 1);
360 360
361 // This is the genlist object that will take over the genlist call 361 // This is the genlist object that will take over the genlist call
362 sd->genlist = gl = eo_add(&gl, ELM_GENLIST_CLASS, obj); 362 eo_add(&gl, ELM_GENLIST_CLASS, obj);
363 sd->genlist = gl;
363 elm_genlist_filter_set(gl, NULL); 364 elm_genlist_filter_set(gl, NULL);
364 elm_widget_mirrored_automatic_set(gl, EINA_FALSE); 365 elm_widget_mirrored_automatic_set(gl, EINA_FALSE);
365 elm_widget_mirrored_set(gl, elm_widget_mirrored_get(obj)); 366 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)
373 elm_table_pack(sd->tbl, gl, 0, 0, 1, 1); 374 elm_table_pack(sd->tbl, gl, 0, 0, 1, 1);
374 375
375 // This is the entry object that will take over the entry call 376 // This is the entry object that will take over the entry call
376 sd->entry = entry = eo_add(&entry, ELM_ENTRY_CLASS, obj); 377 eo_add(&entry, ELM_ENTRY_CLASS, obj);
378 sd->entry = entry;
377 elm_widget_mirrored_automatic_set(entry, EINA_FALSE); 379 elm_widget_mirrored_automatic_set(entry, EINA_FALSE);
378 elm_widget_mirrored_set(entry, elm_widget_mirrored_get(obj)); 380 elm_widget_mirrored_set(entry, elm_widget_mirrored_get(obj));
379 elm_scroller_policy_set(entry, ELM_SCROLLER_POLICY_OFF, 381 elm_scroller_policy_set(entry, ELM_SCROLLER_POLICY_OFF,