Salut JP, If you need to disable all the legacy for an entire class, you can set legacy_prefix to null at the beginning of the class and it will do the job.
Jack, alias Daniel On 04/27/2014 11:58 AM, Jean-Philippe ANDRÉ wrote: > jpeg pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=9873ced7a433c0b09cee80b26a2822e144cf2da3 > > commit 9873ced7a433c0b09cee80b26a2822e144cf2da3 > Author: Jean-Philippe Andre <[email protected]> > Date: Fri Apr 25 19:47:01 2014 +0900 > > Evas: Disable legacy bindings for the filters > > Those are BETA APIs. > Define EFL_BETA_API_SUPPORT to use these Eo APIs. > --- > src/lib/evas/canvas/evas_image.eo | 3 +++ > src/lib/evas/canvas/evas_text.eo | 2 ++ > 2 files changed, 5 insertions(+) > > diff --git a/src/lib/evas/canvas/evas_image.eo > b/src/lib/evas/canvas/evas_image.eo > index fede264..183c462 100644 > --- a/src/lib/evas/canvas/evas_image.eo > +++ b/src/lib/evas/canvas/evas_image.eo > @@ -1037,6 +1037,7 @@ class Evas_Image (Evas_Object) > please use only for testing purposes. > @see @ref evasfiltersref "Evas filters reference" > */ > + legacy null; > } > values { > const char* program; /*@ The program code, as defined > @@ -1057,6 +1058,7 @@ class Evas_Image (Evas_Object) > > This will create automatically a new RGBA buffer containing > the source object's pixels (as it is rendered). */ > + legacy null; > } > values { > const char* name; /*@ Object name as used in the program code */ > @@ -1067,6 +1069,7 @@ class Evas_Image (Evas_Object) > get { > /*@ Get the value of the extra padding set when a filter is > used. */ > return Eina_Bool; /*@ Returns false if the filter is invalid > and padding is 0 */ > + legacy null; > } > values { > int l; /*@ Left padding in pixels */ > diff --git a/src/lib/evas/canvas/evas_text.eo > b/src/lib/evas/canvas/evas_text.eo > index 609138c..3103d93 100644 > --- a/src/lib/evas/canvas/evas_text.eo > +++ b/src/lib/evas/canvas/evas_text.eo > @@ -309,6 +309,7 @@ class Evas_Text (Evas_Object) > please use only for testing purposes. > @see @ref evasfiltersref "Evas filters reference" > */ > + legacy null; > } > values { > const char* program; /*@ The program code, as defined > @@ -328,6 +329,7 @@ class Evas_Text (Evas_Object) > @note EXPERIMENTAL FEATURE. This is an unstable API, > please use only for testing purposes. > @see @ref evasfiltersref "Evas filters reference" */ > + legacy null; > } > values { > const char* name; /*@ Object name as used in the program code */ > ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
