Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/ibar


Modified Files:
        e_mod_main.c 


Log Message:
Tweak the E_App object reference counting.  I think this is correct, but
I suspect the dir scanning in e_apps.c still needs an unref.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -3 -r1.143 -r1.144
--- e_mod_main.c        7 Sep 2006 10:33:57 -0000       1.143
+++ e_mod_main.c        17 Sep 2006 00:13:11 -0000      1.144
@@ -842,7 +842,10 @@
    b = data;
    a = e_app_new(path, 0);
    if (a)
-      e_app_list_append(a, b->apps);
+      {
+         e_app_list_append(a, b->apps);
+         e_object_unref(E_OBJECT(a));
+      }
    _ibar_empty_handle(b);
    _ibar_resize_handle(b);
    _gc_orient(b->inst->gcc);



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to