[EFL core migration] fix build break
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 23 Aug 2011 08:10:53 +0000 (17:10 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 23 Aug 2011 08:10:53 +0000 (17:10 +0900)
src/lib/elc_fileselector.c
src/lib/elm_cnp_helper.c

index 824ea45..5d46d58 100644 (file)
@@ -153,7 +153,8 @@ _del_hook(Evas_Object *obj)
    wd->files_list = NULL;
    wd->files_grid = NULL;
 
-   EINA_REFCOUNT_UNREF(wd, _widget_data_free);
+   EINA_REFCOUNT_UNREF(wd)
+      _widget_data_free(wd);
 }
 
 static void
@@ -674,7 +675,8 @@ _main_cb(void *data, Eio_File *handler, const Eina_File_Direct_Info *info __UNUS
 static void
 _widget_request_cleanup(Widget_Request *wr)
 {
-   EINA_REFCOUNT_UNREF(wr->wd, _widget_data_free);
+   EINA_REFCOUNT_UNREF(wr->wd)
+     _widget_data_free(wr->wd);
 
    eina_stringshare_del(wr->path);
    free(wr);
index 31b046d..dac89ad 100644 (file)
@@ -2680,7 +2680,7 @@ elm_cnp_tempfile_create(int size)
         return info;
      }
 
-   //eina_mmap_safety_enabled_set(EINA_TRUE); // NOTE: Temporary comment
+   eina_mmap_safety_enabled_set(EINA_TRUE);
 
    info->map = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_SHARED, info->fd, 0);
    if (info->map == MAP_FAILED)