diff --git a/cogl/cogl/cogl-poll-private.h b/cogl/cogl/cogl-poll-private.h index 63b386099..2afba7a87 100644 --- a/cogl/cogl/cogl-poll-private.h +++ b/cogl/cogl/cogl-poll-private.h @@ -48,11 +48,6 @@ _cogl_poll_renderer_add_fd (CoglRenderer *renderer, CoglPollDispatchCallback dispatch, void *user_data); -void -_cogl_poll_renderer_modify_fd (CoglRenderer *renderer, - int fd, - CoglPollFDEvent events); - typedef struct _CoglPollSource CoglPollSource; CoglPollSource * diff --git a/cogl/cogl/cogl-poll.c b/cogl/cogl/cogl-poll.c index 2a424c2da..df954ba29 100644 --- a/cogl/cogl/cogl-poll.c +++ b/cogl/cogl/cogl-poll.c @@ -168,25 +168,6 @@ _cogl_poll_renderer_remove_fd (CoglRenderer *renderer, int fd) } } -void -_cogl_poll_renderer_modify_fd (CoglRenderer *renderer, - int fd, - CoglPollFDEvent events) -{ - int fd_index = find_pollfd (renderer, fd); - - if (fd_index == -1) - g_warn_if_reached (); - else - { - CoglPollFD *pollfd = - &g_array_index (renderer->poll_sources, CoglPollFD, fd_index); - - pollfd->events = events; - renderer->poll_fds_age++; - } -} - void _cogl_poll_renderer_add_fd (CoglRenderer *renderer, int fd,