1
0
Fork 0

Remove unused _cogl_poll_renderer_remove_source

Never used in mutter AFAICT.

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

View file

@ -56,10 +56,6 @@ _cogl_poll_renderer_add_source (CoglRenderer *renderer,
CoglPollDispatchCallback dispatch, CoglPollDispatchCallback dispatch,
void *user_data); void *user_data);
void
_cogl_poll_renderer_remove_source (CoglRenderer *renderer,
CoglPollSource *source);
typedef void (*CoglIdleCallback) (void *user_data); typedef void (*CoglIdleCallback) (void *user_data);
COGL_EXPORT CoglClosure * COGL_EXPORT CoglClosure *

View file

@ -215,24 +215,6 @@ _cogl_poll_renderer_add_source (CoglRenderer *renderer,
return source; return source;
} }
void
_cogl_poll_renderer_remove_source (CoglRenderer *renderer,
CoglPollSource *source)
{
GList *l;
for (l = renderer->poll_sources; l; l = l->next)
{
if (l->data == source)
{
renderer->poll_sources =
g_list_delete_link (renderer->poll_sources, l);
g_free (source);
break;
}
}
}
CoglClosure * CoglClosure *
_cogl_poll_renderer_add_idle (CoglRenderer *renderer, _cogl_poll_renderer_add_idle (CoglRenderer *renderer,
CoglIdleCallback idle_cb, CoglIdleCallback idle_cb,