tools: Fix to set data for swallow button callback data
Summary: Fix to set data for swallow button callback Reviewers: Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D1526
This commit is contained in:
parent
cdcc68fba1
commit
5229b12423
|
@ -135,7 +135,7 @@ tools_create(Evas_Object *parent, Evas_Object *enventor)
|
|||
elm_box_pack_end(box, btn);
|
||||
|
||||
btn = tools_btn_create(box, "swallow_s", "Swallow",
|
||||
swallow_cb, NULL);
|
||||
swallow_cb, enventor);
|
||||
evas_object_size_hint_weight_set(btn, 0, EVAS_HINT_EXPAND);
|
||||
evas_object_size_hint_align_set(btn, 0.0, EVAS_HINT_FILL);
|
||||
elm_box_pack_end(box, btn);
|
||||
|
|
Loading…
Reference in New Issue