Remove unused _cogl_poll_renderer_modify_fd

Unused since 865da1457a ("renderer: drop wayland client support").

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
Michel Dänzer 2023-08-11 19:04:03 +02:00 committed by Marge Bot
parent 8511041c9e
commit e803e7718d
2 changed files with 0 additions and 24 deletions

View File

@ -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 *

View File

@ -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,