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

src/lib/elc_anchorblock.c

index 6eb078d..5917c39 100644 (file)
@@ -174,9 +174,14 @@ elm_anchorblock_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;
 }