Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_smart.c 


Log Message:


fix edje to get the current default object size as initial size data.

===================================================================
RCS file: /cvs/e/e17/libs/edje/src/lib/edje_smart.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- edje_smart.c        8 Sep 2007 18:31:56 -0000       1.32
+++ edje_smart.c        5 Oct 2007 04:53:17 -0000       1.33
@@ -51,13 +51,14 @@
 
 /* Private Routines */
 static void
-_edje_smart_add(Evas_Object * obj)
+_edje_smart_add(Evas_Object *obj)
 {
    Edje *ed;
 
    ed = _edje_add(obj);
    if (!ed) return;
    evas_object_smart_data_set(obj, ed);
+   evas_object_geometry_get(obj, &(ed->x), &(ed->y), &(ed->w), &(ed->h));
    ed->obj = obj;
    _edje_edjes = evas_list_append(_edje_edjes, obj);
 /*



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to