eio: fix wrong container set in eio_file_map_new.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 14 Jan 2013 10:11:27 +0000 (10:11 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 14 Jan 2013 10:11:27 +0000 (10:11 +0000)
Bug reported by Kuri.

SVN revision: 82749

ChangeLog
NEWS
src/lib/eio/eio_map.c

index ef531fb..85be617 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-14  Cedric Bail
+
+       * Fix bug in eio_file_map_new container set.
+
 2013-01-14  Albin Tonerre
 
        * Fix endianess issue in Eet_Image.
diff --git a/NEWS b/NEWS
index 6541f05..962d2c2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -110,3 +110,4 @@ Fixes:
     * Fix not up to date clip cache for Evas_Object_Text.
     * Evas texblock: Fixed a bug with breaking after format items.
     * Fix endianess issue in Eet_Image.
+    * Fix bug in eio_file_map_new container set.
index 8efa48c..9f913e1 100644 (file)
@@ -295,7 +295,7 @@ eio_file_map_new(Eina_File *f,
    map = malloc(sizeof (Eio_File_Map_Rule));
    EINA_SAFETY_ON_NULL_RETURN_VAL(map, NULL);
 
-   map->common.container = f;
+   map->file = f;
    map->filter_cb = filter_cb;
    map->map_cb = map_cb;
    map->rule = rule;