Fix signal description infra for anchorview.
authorGustavo Lima Chaves <glima@profusion.mobi>
Mon, 5 Apr 2010 19:20:06 +0000 (19:20 +0000)
committerGustavo Lima Chaves <glima@profusion.mobi>
Mon, 5 Apr 2010 19:20:06 +0000 (19:20 +0000)
SVN revision: 47776

src/lib/elc_anchorview.c

index 532e75f..408e29f 100644 (file)
@@ -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;
 }