Le 02/09/2012 13:20, Daniel Juyung Seo a écrit : > It looks like valptr is not always boolean. You can set int value to > the check object. > So it's int rather than Eina_Bool. > But yes, most of cases it is used as if it was a boolean. > > Anybody has a historical idea on this? > > Daniel Juyung Seo (SeoZ) Mmhhh... In e_widget_check.c, i don't see where valptr isn't a boolean.
Yes, argument passed to e_widget_check_add() is int, but as it's used as boolean, we also could replace all call to e_widget_check_add() to pass an Eina_Bool. It implies a lot of changes... but it uses less memory. ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
