diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-03-28 17:38:01 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-03-30 02:12:41 -0400 |
commit | 5454a886248ebe4f5b456ad0cb826eb71b905e16 (patch) | |
tree | d6b989b01d3584d63d9fe25dd2f499ac2d3ec70a /agent | |
parent | 2979fcc8afb9a145b03e17453eb0ece76efc6cab (diff) | |
download | libnice-5454a886248ebe4f5b456ad0cb826eb71b905e16.tar.gz |
component: Set dummy callback from cancellable GSource
Diffstat (limited to 'agent')
-rw-r--r-- | agent/component.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/component.c b/agent/component.c index 3bee9b4..f369bf8 100644 --- a/agent/component.c +++ b/agent/component.c @@ -129,6 +129,7 @@ component_new (guint id, NiceAgent *agent, Stream *stream) component->own_ctx = g_main_context_new (); component->stop_cancellable = g_cancellable_new (); src = g_cancellable_source_new (component->stop_cancellable); + g_source_set_dummy_callback (src); g_source_attach (src, component->own_ctx); g_source_unref (src); component->ctx = g_main_context_ref (component->own_ctx); |