summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYomi <abyomi0@gmail.com>2015-08-03 11:50:10 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2015-08-03 11:59:03 +0200
commitc1f9152f10dc930826e074b394dcf8fd65352edd (patch)
tree6438d1f1ac79d864c4e36e7f3b584b55e367e78a
parenta07c526460d1a3aa0a4e863a33059f1ade32c310 (diff)
downloadefl-c1f9152f10dc930826e074b394dcf8fd65352edd.tar.gz
eio: grammar and typo fixes in docs.
Summary: Fix a sentence. Changes: src/examples/eio/eio_file_ls.c Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2894
-rw-r--r--doc/eio_examples.dox12
-rw-r--r--src/examples/eio/eio_file_ls.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/eio_examples.dox b/doc/eio_examples.dox
index 4b7c1ede75..587cb39cce 100644
--- a/doc/eio_examples.dox
+++ b/doc/eio_examples.dox
@@ -181,17 +181,17 @@
*
* To use eio_file_ls(), you just need to define four callbacks:
*
- * @li The filter callback, which allow or not a file to be seen
- * by the main loop handler. This callback run in a separated thread.
+ * @li The filter callback, which allows a file to be seen (or not)
+ * by the main loop handler. This callback runs in a separate thread.
* @li The main callback, which receive in the main loop all the file
* that are allowed by the filter. If you are updating a user interface
- * it make sense to delay the insertion a little, so you get a chance
- * to update the canvas for a bunch of file instead of one by one.
+ * it makes sense to delay the insertion a little, so you get a chance
+ * to update the canvas for a bunch of files instead of one by one.
* @li The end callback, which is called in the main loop when the
* content of the directory has been correctly scanned and all the
* file notified to the main loop.
* @li The error callback, which is called if an error occurred or
- * if the listing was cancelled during it's run. You can then retrieve
+ * if the listing was cancelled during its run. You can then retrieve
* the error type as an errno error.
*
* Here is a simple example:
@@ -288,7 +288,7 @@
* if( type == EIO_MONITOR_FILE_MODIFIED )
* printf("is being modified");
* else if( type == EIO_MONITOR_FILE_CLOSED )
- * printf("is not more being modified");
+ * printf("is no longer being modified");
* else printf("got unexpected changes");
* printf("\n");
* }
diff --git a/src/examples/eio/eio_file_ls.c b/src/examples/eio/eio_file_ls.c
index a9315ff90e..93e6c7a774 100644
--- a/src/examples/eio/eio_file_ls.c
+++ b/src/examples/eio/eio_file_ls.c
@@ -43,7 +43,7 @@ _done_cb(void *data, Eio_File *handler EINA_UNUSED)
static void
_error_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error)
{
- fprintf(stderr, "Something wrong has happend:%s\n", strerror(error));
+ fprintf(stderr, "Something has gone wrong:%s\n", strerror(error));
ecore_main_loop_quit();
}