From 103eaca1786f9c8040196d3aea4fe47552a7c055 Mon Sep 17 00:00:00 2001 From: cedric Date: Wed, 30 Jun 2010 09:49:15 +0000 Subject: [PATCH] * Edje: deprecate Gradient part by displaying an error message on edje file load. WARNING: THIS CODE WILL BE GONE IF NO ONE IS WILLING TO TAKE MAINTAINER SHIP OF IT. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@49946 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_load.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/edje_load.c b/src/lib/edje_load.c index 0875c94..0c5f4fc 100644 --- a/src/lib/edje_load.c +++ b/src/lib/edje_load.c @@ -435,6 +435,8 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g break; case EDJE_PART_TYPE_GRADIENT: rp->object = evas_object_gradient_add(ed->evas); + ERR("SPANK ! SPANK ! SPANK !\nYOU ARE USING GRADIENT IN PART %s FROM GROUP %s INSIDE FILE %s !!\n THEY WILL BE REMOVED SHORTLY !", + ep->name, group, file); break; case EDJE_PART_TYPE_BOX: rp->object = evas_object_box_add(ed->evas); -- 2.7.4