Changing to Evas_Coord was enough. I have already realised the example
is written in the right way at the eflcookbook.pdf. Thanx.


Maybe i should use and IDE instead of UDE (using vim of gedit and
compiling from terminal). Is there any IDE that you can suggest me
that i can see the function parameters and return values when i write
them? Checking the API reference each time is making me looke
concentration. I tried Anjuta but it didn't show information about
functions.


On Mon, Jan 12, 2009 at 3:40 PM, Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> wrote:
> 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
>



-- 
Oğuz Yarımtepe
www.loopbacking.info
------------------------------------------------------------------------------
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