On 09/12/2010 06:57 PM, Carsten Haitzler (The Rasterman) wrote: > On Fri, 10 Sep 2010 11:15:49 -0400 Christopher Michael<cpmicha...@comcast.net> > said: > >> On 09/10/2010 12:09 AM, Enlightenment SVN wrote: >>> Log: >>> menu icons.. are meant to be e_icon objects... devilhorns! >>> :) >>> (damned 64bit shit found it) >>> >>> > > actually amazing it worked at all on 32bit. as such e17's e_icon stuff didnt > do > object type checking and thus it got thru - a lot of e17's internals dont > check > types and assume u do things right as its not actually a library and can > assume > rightness - this will get fixed when we eventually use elementary in e18 as it > checks. it doesn't trust you :) > > Well, I'm not entirely shocked that it worked tbh....given the variable & error checks (or lack thereof) inside e_menu. The way that e_menu is currently done, anyone can hook into a realize callback and replace the menu's icon w/ any Evas_Object (rect, etc, etc).
Really it's my fault tho as I looked at the return from _gc_icon and it said Evas_Object, and looked at the e_menu header and it said also that menu->icon was an Evas_Object....so according to the (admittedly short) brief reading of code that I did it should have worked in theory ;) ... but eh, it's neither here nor there now :) dh ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel