summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-08-09 06:38:54 +0100
committerChris Michael <cp.michael@samsung.com>2013-08-09 06:38:54 +0100
commite811036199509920d5c536e3470e46df1aca2afb (patch)
tree0828ab1fd277ddbc3c63322cf36fefd2017d972d /src/lib/ecore
parent1d75dcaf56c5488f2b994698ffd6be82a1dd8585 (diff)
Fix glib integration copy/paste issue:
- If we are supposed to be deleting an fd handler, let's use g_source_remove_poll instead of g_source_add_poll ;) Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index da14b7cf29..0500052a73 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -425,8 +425,8 @@ _ecore_main_fdh_poll_del(Ecore_Fd_Handler *fdh)
425 fdh->gfd.fd = fdh->fd; 425 fdh->gfd.fd = fdh->fd;
426 fdh->gfd.events = _gfd_events_from_fdh(fdh); 426 fdh->gfd.events = _gfd_events_from_fdh(fdh);
427 fdh->gfd.revents = 0; 427 fdh->gfd.revents = 0;
428 DBG("adding gpoll on %d %08x", fdh->fd, fdh->gfd.events); 428 DBG("removing gpoll on %d %08x", fdh->fd, fdh->gfd.events);
429 g_source_add_poll(ecore_glib_source, &fdh->gfd); 429 g_source_remove_poll(ecore_glib_source, &fdh->gfd);
430#endif 430#endif
431 } 431 }
432} 432}