Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_order.c e_order.h 


Log Message:
Store path in E_Order object.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_order.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_order.c   24 Mar 2007 22:53:16 -0000      1.3
+++ e_order.c   24 Mar 2007 23:33:59 -0000      1.4
@@ -49,6 +49,7 @@
          }
        fclose(f);
      }
+   eo->path = evas_stringshare_add(path);
    eo->monitor = ecore_file_monitor_add(path, _e_order_cb_monitor, eo);
 
    return eo;
@@ -58,6 +59,7 @@
 _e_order_free(E_Order *eo)
 {
    evas_list_free(eo->desktops);
+   if (eo->path) evas_stringshare_del(eo->path);
    if (eo->monitor) ecore_file_monitor_del(eo->monitor);
    free(eo);
 }
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_order.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_order.h   24 Mar 2007 22:02:33 -0000      1.2
+++ e_order.h   24 Mar 2007 23:33:59 -0000      1.3
@@ -15,6 +15,7 @@
 {
    E_Object            e_obj_inherit;
    
+   const char         *path;
    Evas_List          *desktops; /* A list of Efreet_Desktop files this .order 
contains */
    Ecore_File_Monitor *monitor; /* Check for changes int the .order file */
 };



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to