Fix timeout handling
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Jul 2012 02:25:35 +0000 (02:25 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Jul 2012 02:25:35 +0000 (02:25 +0000)
commitf918f881bd02cb3e08ad100f31d10e09884dcaef
treee0815a7c50bd4904fdf00b59c6c335ddeb747451
parent8354baf4222fc6c2ccde2ebe72d598b67b67438c
Fix timeout handling

A "if" in timeout callback is wrong and this way when a
timeout happens this is not handled correctly.

Change the return value of the callback so it doesn't get called
indefinitely, too.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@74363 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/dbus/e_dbus.c