ecore/fd_handler - Fix prepare_callback_set and improve its doc.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jun 2011 15:05:09 +0000 (15:05 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 28 Jun 2011 15:05:09 +0000 (15:05 +0000)
commit0de5b30841371741cd83b6acc330364fedcb51f7
tree0c2122f5a2a46d8e7b97e863a3fd76b443f346f0
parent6eecd89ecbddc978d22f433978879472825be3c5
ecore/fd_handler - Fix prepare_callback_set and improve its doc.

Now they can be set even if the list is empty (sorry discomfitor,
removing your optimization and making it O(n) again, back from O(0)).

Also notice that due to the already existing check, if a prepare
callback was already set to a fd handler, it can't be changed, so I
added that to the docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60765 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore/ecore_main.c