2009/1/12 Oguz Yarimtepe <comp....@gmail.com>:
> Hi,
>
> I have attached the sample program that is mentioned at edjebook.pdf.
> Here is what i get:
>
> $ gcc  `pkg-config --cflags --libs ecore-evas evas ecore edje`
> example.c -o example
> example.c: In function 'main':
> example.c:34: warning: passing argument 2 of
> 'edje_object_size_min_get' from incompatible pointer type
> example.c:34: warning: passing argument 3 of
> 'edje_object_size_min_get' from incompatible pointer type

First these warnings are for real, use Evas_Coord or int, as today
Evas_Coord maps to that.

Second, edje object might not define a min size, so you have to
request it to calculate one with edje_object_size_min_calc().

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to