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 ef531fbc267517a450d1fd8a1d30d7cfe8dfde4f..85be617199e796c9dfef72f62dddf6947e0be486 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 6541f05457829de5034a7ab2f56836bf53800571..962d2c2cc7536942990ab88b6fa0368c2938ad85 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 8efa48c8f2c01e11272b33e79bdb7e8e2b2aac1f..9f913e1d7439a7fb4e26120b33a04318a0046e80 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;