ecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()
authorConrad Meyer <cse.cem@gmail.com>
Wed, 8 Apr 2015 03:06:58 +0000 (12:06 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 8 Apr 2015 06:47:26 +0000 (15:47 +0900)
commit9281fb5537546f309db1326754d231abf2578c16
tree33ce6edf97b82dc86823a3cd838dd090a3dad91e
parent0580f88990d5b957c1e8c82f94af4fe63f72d58d
ecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()

Summary:
... to simply invoke `_ecore_main_fd_handler_add()`. The only difference appears to be the former sets `->file` to `EINA_TRUE`. So, we add that as a parameter.

You can consider this patch, and any other contributions I make to enlightenment, to be under the terms of whatever open source license governs that particular project, or at your option, the MIT license. Basically, if I'm uploading patches here, it's because I want them to be useful.

Test Plan: Should be pretty straightforward. I am in the process of doing a compile check.

Reviewers: #efl

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D2302
src/lib/ecore/ecore_main.c
src/lib/ecore/ecore_private.h