Re: [E-devel] Problem with gengrid
On Wed, Sep 29, 2010 at 10:50 AM, Nicolas Aguirre aguirre.nico...@gmail.com wrote: On Thu, Sep 23, 2010 at 3:12 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: from code there is a spacer thing that is calculated based on scale and has at least 1x1 pixel, so you will have to consider that padding. How do you get the size of this spacer ? sorry taking so long! No idea other than looking the code :-/ -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- 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
[E-devel] [PATCH 1/2] eina: fix wrong EINA_ARG_NONNULL
This fixes the following error: CC libeina_la-eina_error.lo CC libeina_la-eina_log.lo In file included from ../../src/include/eina_safety_checks.h:69, from eina_error.c:150: ../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1) make[3]: *** [libeina_la-eina_error.lo] Error 1 make[3]: *** Waiting for unfinished jobs In file included from ../../src/include/eina_safety_checks.h:69, from eina_log.c:287: ../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1) make[3]: *** [libeina_la-eina_log.lo] Error 1 make[3]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina' make: *** [all] Error 2 Signed-off-by: Marc Andre Tanner m...@brain-dump.org --- src/include/eina_error.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/include/eina_error.h b/src/include/eina_error.h index 7b290de..8c74b66 100644 --- a/src/include/eina_error.h +++ b/src/include/eina_error.h @@ -50,7 +50,7 @@ EAPI extern Eina_Error EINA_ERROR_OUT_OF_MEMORY; EAPI Eina_Error eina_error_msg_register(const char *msg) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Error eina_error_msg_static_register(const char *msg) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT; EAPI Eina_Booleina_error_msg_modify(Eina_Error error, - const char *msg) EINA_ARG_NONNULL(1, 2); + const char *msg) EINA_ARG_NONNULL(2); EAPI Eina_Error eina_error_get(void); EAPI void eina_error_set(Eina_Error err); EAPI const char * eina_error_msg_get(Eina_Error error) EINA_PURE; -- 1.6.5 -- 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
[E-devel] [PATCH 2/2] eina: fix compilation if safety checks are disabled
A few files include eina_safety_checks.h and then expect that eina_log.h is also dragged in, however this isn't the case if the safety checks were disabled at configure stage. Include eina_log.h explicitly to fix this. Signed-off-by: Marc Andre Tanner m...@brain-dump.org --- src/lib/eina_array.c|1 + src/lib/eina_list.c |1 + src/lib/eina_matrixsparse.c |1 + src/lib/eina_rectangle.c|1 + src/lib/eina_share_common.c |1 + src/lib/eina_stringshare.c |1 + 6 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/lib/eina_array.c b/src/lib/eina_array.c index 4ad8533..bd71fc9 100644 --- a/src/lib/eina_array.c +++ b/src/lib/eina_array.c @@ -118,6 +118,7 @@ #include eina_config.h #include eina_private.h #include eina_error.h +#include eina_log.h /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ #include eina_safety_checks.h diff --git a/src/lib/eina_list.c b/src/lib/eina_list.c index a09b3cf..e301476 100644 --- a/src/lib/eina_list.c +++ b/src/lib/eina_list.c @@ -75,6 +75,7 @@ #include eina_config.h #include eina_private.h #include eina_error.h +#include eina_log.h #include eina_mempool.h /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ diff --git a/src/lib/eina_matrixsparse.c b/src/lib/eina_matrixsparse.c index fc38159..e19f24a 100644 --- a/src/lib/eina_matrixsparse.c +++ b/src/lib/eina_matrixsparse.c @@ -40,6 +40,7 @@ #include eina_config.h #include eina_private.h #include eina_error.h +#include eina_log.h #include eina_magic.h #include eina_mempool.h diff --git a/src/lib/eina_rectangle.c b/src/lib/eina_rectangle.c index 9ef0451..237ca8b 100644 --- a/src/lib/eina_rectangle.c +++ b/src/lib/eina_rectangle.c @@ -34,6 +34,7 @@ #include eina_mempool.h #include eina_list.h #include eina_trash.h +#include eina_log.h /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ #include eina_safety_checks.h diff --git a/src/lib/eina_share_common.c b/src/lib/eina_share_common.c index 0699871..2302843 100644 --- a/src/lib/eina_share_common.c +++ b/src/lib/eina_share_common.c @@ -76,6 +76,7 @@ #include eina_hash.h #include eina_rbtree.h #include eina_error.h +#include eina_log.h /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ #include eina_safety_checks.h diff --git a/src/lib/eina_stringshare.c b/src/lib/eina_stringshare.c index 644915b..86b4617 100644 --- a/src/lib/eina_stringshare.c +++ b/src/lib/eina_stringshare.c @@ -69,6 +69,7 @@ void *alloca (size_t); #include eina_hash.h #include eina_rbtree.h #include eina_error.h +#include eina_log.h #include eina_stringshare.h /* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */ -- 1.6.5 -- 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