Hi, I send small libeflvala patches from my work on ffalarms.
Best regards, Łukasz
>From 92807e0a8adf99e575e8db7dc7f0c694ef093d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= <lukp...@o2.pl> Date: Thu, 22 Oct 2009 21:23:08 +0200 Subject: [PATCH 3/3] elm.vapi: ListItem.label_get and Entry.entry_get return unowned string --- vapi/elm.vapi | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vapi/elm.vapi b/vapi/elm.vapi index cccf691..8984c46 100644 --- a/vapi/elm.vapi +++ b/vapi/elm.vapi @@ -335,7 +335,7 @@ public class Entry : Elm.Object public void single_line_set( bool single_line ); public void password_set( bool password ); public void entry_set( string entry ); - public string entry_get(); + public unowned string entry_get(); public string selection_get(); public void entry_insert( string entry ); public void line_wrap_set( bool wrap ); @@ -949,7 +949,7 @@ public class ListItem public void selected_set( bool selected ); public void show(); public void* data_get(); - public string label_get(); + public unowned string label_get(); public void label_set( string label ); public Elm.Object icon_get(); public void icon_set( Elm.Object icon ); -- 1.6.5
>From 859c31d47d717e67c9ac8aa61b0bfbd93dd84c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= <lukp...@o2.pl> Date: Thu, 22 Oct 2009 21:17:43 +0200 Subject: [PATCH 2/3] elm.vapi: bind Scroller.policy_set --- vapi/elm.vapi | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/vapi/elm.vapi b/vapi/elm.vapi index 00aadc8..cccf691 100644 --- a/vapi/elm.vapi +++ b/vapi/elm.vapi @@ -230,6 +230,7 @@ public class Scroller : Elm.Object public void index_clear( bool h_index, bool v_index ); public void index_add( ScrollerAxis axis, string label, Elm.Object icon, Evas.Coord position, Evas.Coord size, int level ); public void region_show( Evas.Coord x, Evas.Coord y, Evas.Coord w, Evas.Coord h ); + public void policy_set(ScrollerPolicy h_policy, ScrollerPolicy v_policy); public void region_get( out Evas.Coord x, out Evas.Coord y, out Evas.Coord w, out Evas.Coord h ); public void region_bring_in( Evas.Coord x, Evas.Coord y, Evas.Coord w, Evas.Coord h ); public void page_relative_set( double h_pagerel, double v_pagerel ); @@ -822,6 +823,12 @@ public enum ScrollerAxis VERTICAL, } +public enum ScrollerPolicy +{ + AUTO, + ON, + OFF +} //======================================================================= [CCode (cprefix = "ELM_TEXT_FORMAT_")] -- 1.6.5
>From 32b083681e4018707413a30b28fe6b86941be243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= <lukp...@o2.pl> Date: Thu, 22 Oct 2009 21:12:04 +0200 Subject: [PATCH 1/3] fix free_function of Evas.Object and Edje.Object --- vapi/edje.vapi | 2 +- vapi/evas.vapi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vapi/edje.vapi b/vapi/edje.vapi index c9f0380..0a07a65 100644 --- a/vapi/edje.vapi +++ b/vapi/edje.vapi @@ -104,7 +104,7 @@ namespace Edje //======================================================================= [Compact] - [CCode (cname = "Evas_Object", clower_case_prefix = "edje_object_", free_function = "evas_object_free")] + [CCode (cname = "Evas_Object", clower_case_prefix = "edje_object_", free_function = "evas_object_del")] public class Object : Evas.Object { [CCode (cname = "edje_object_add") ] diff --git a/vapi/evas.vapi b/vapi/evas.vapi index 7728f03..12ef7d6 100644 --- a/vapi/evas.vapi +++ b/vapi/evas.vapi @@ -102,7 +102,7 @@ namespace Evas //======================================================================= [Compact] - [CCode (cheader_filename = "Evas.h")] + [CCode (cheader_filename = "Evas.h", free_function="evas_object_del")] public abstract class Object { public void del(); -- 1.6.5
_______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland