From 32a79e1c61d048e421e25b622c45f36924853b4b Mon Sep 17 00:00:00 2001 From: Gustavo Lima Chaves Date: Mon, 5 Apr 2010 19:20:06 +0000 Subject: [PATCH] Fix signal description infra for anchorview. SVN revision: 47776 --- legacy/elementary/src/lib/elc_anchorview.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elc_anchorview.c b/legacy/elementary/src/lib/elc_anchorview.c index 532e75f594..408e29f84c 100644 --- a/legacy/elementary/src/lib/elc_anchorview.c +++ b/legacy/elementary/src/lib/elc_anchorview.c @@ -168,9 +168,14 @@ elm_anchorview_add(Evas_Object *parent) elm_entry_entry_set(wd->entry, ""); - evas_object_smart_callback_add(wd->entry, "anchor,clicked", _anchor_clicked, obj); + evas_object_smart_callback_add(wd->entry, "anchor,clicked", + _anchor_clicked, obj); _sizing_eval(obj); + + // TODO: convert Elementary to subclassing of Evas_Smart_Class + // TODO: and save some bytes, making descriptions per-class and not instance! + evas_object_smart_callbacks_descriptions_set(obj, _signals); return obj; }