eina: cleanup eina_file_map_lines API before release.
authorcedric <cedric>
Tue, 31 Jul 2012 07:23:16 +0000 (07:23 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 31 Jul 2012 07:23:16 +0000 (07:23 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@74618 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_watch.c

index 3771671..01033b6 100644 (file)
@@ -19,7 +19,7 @@ read_watch_file(const char *file)
 {
    Eina_File *f;
    Eina_Iterator *it;
-   Eina_File_Lines *ln;
+   Eina_File_Line *ln;
    Eio_Monitor *mon;
    Eina_List *r = NULL;
 
@@ -33,7 +33,7 @@ read_watch_file(const char *file)
      {
         const char *path;
 
-        path = eina_stringshare_add_length(ln->line.start, ln->length);
+        path = eina_stringshare_add_length(ln->start, ln->length);
         r = eina_list_append(r, eio_monitor_add(path));
         eina_stringshare_del(path);
      }