projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2979fcc
)
component: Set dummy callback from cancellable GSource
author
Olivier Crête
<olivier.crete@collabora.com>
Fri, 28 Mar 2014 21:38:01 +0000
(17:38 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Sun, 30 Mar 2014 06:12:41 +0000
(
02:12
-0400)
agent/component.c
patch
|
blob
|
history
diff --git
a/agent/component.c
b/agent/component.c
index
3bee9b4
..
f369bf8
100644
(file)
--- 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);