> - if (s->smart_class->add) s->smart_class->add(obj); > - > for (i = 0; i < s->interfaces.size; i++) > { > const Evas_Smart_Interface *iface; > @@ -466,6 +464,8 @@ > } > } > > + if (s->smart_class->add) s->smart_class->add(obj); > + > return obj;
indeed, this way if needed the smart_add can call the interface methods to finish setup. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel