Enlightenment CVS committal
Author : essiene
Project : e17
Module : proto
Dir : e17/proto/entrance_edit_gui/src/smarts
Modified Files:
Entrance_Smart.h entrance_smart.c
Log Message:
- Fix TODO item on them pesky preview windows
- Start freeing up some memory in the Entrance Smart objects used for previews
===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/smarts/Entrance_Smart.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Entrance_Smart.h 23 Aug 2006 02:10:49 -0000 1.1
+++ Entrance_Smart.h 13 Nov 2006 10:24:44 -0000 1.2
@@ -5,6 +5,7 @@
Evas_Object *es_new(Evas *e);
+void es_free(Evas_Object *o);
void es_background_edje_set(Evas_Object *o, const char *file);
void es_main_edje_set(Evas_Object *o, const char *file);
void es_session_edje_set(Evas_Object *o, const char *file);
===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/smarts/entrance_smart.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- entrance_smart.c 29 Sep 2006 02:36:38 -0000 1.3
+++ entrance_smart.c 13 Nov 2006 10:24:44 -0000 1.4
@@ -79,6 +79,20 @@
}
void
+es_free(Evas_Object *o)
+{
+ ENTRANCE_SMART_OBJECT_GET(es, o);
+
+ evas_object_del(es->background);
+ evas_object_del(es->main);
+ evas_object_del(es->session);
+ evas_object_del(es->clip);
+
+ free(es);
+ evas_object_del(o);
+}
+
+void
es_background_edje_set(Evas_Object *o, const char *file)
{
ENTRANCE_SMART_OBJECT_GET(es, o);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs