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:
parent
e803e7718d
commit
3f0184982d
2 changed files with 0 additions and 22 deletions
|
@ -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 *
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue