From 1a24bd222c919162fe4b2362d074677b42873d48 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Sun, 26 Jun 2011 04:56:47 +0000 Subject: [PATCH] From: Hyoyoung Chang Subject: [E-devel] [patch] elementary - elc_fileselector Date: Sun, 26 Jun 2011 11:55:55 +0900 Dear elementary developers When I compiled svn elementary, it seems a define(HAVE_EIO) is omitted. I sending a patch, check about it please. Thanks. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60697 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elc_fileselector.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c index 0f0d242..cbe2f1b 100644 --- a/src/lib/elc_fileselector.c +++ b/src/lib/elc_fileselector.c @@ -141,7 +141,9 @@ _del_hook(Evas_Object *obj) wd = elm_widget_data_get(obj); if (!wd) return; +#ifdef HAVE_EIO eio_file_cancel(wd->current); +#endif wd->files_list = NULL; wd->files_grid = NULL; @@ -678,7 +680,9 @@ _done_cb(void *data, Eio_File *handler __UNUSED__) _signal_first(wr); +#ifdef HAVE_EIO wr->wd->current = NULL; +#endif _widget_request_cleanup(wr); } @@ -687,8 +691,10 @@ _error_cb(void *data, Eio_File *handler, int error __UNUSED__) { Widget_Request *wr = data; +#ifdef HAVE_EIO if (wr->wd->current == handler) wr->wd->current = NULL; +#endif _widget_request_cleanup(wr); } -- 2.7.4