summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-12-04 16:34:01 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-04 16:52:31 -0600
commite1ceeafe5f3b3cb1a1739e0fa8a0d7e2811307b7 (patch)
tree6746c841dd5df1254f43811718e6f6929694a194
parent0fbaed38aa4a68ede58a821e509d97b7ceed910d (diff)
downloadofono-e1ceeafe5f3b3cb1a1739e0fa8a0d7e2811307b7.tar.bz2
Optimize: call list signal emission
-rw-r--r--src/voicecall.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 82fcbc62..e52ca66b 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -706,13 +706,9 @@ static gboolean real_emit_call_list_changed(void *data)
static void emit_call_list_changed(struct ofono_voicecall *vc)
{
-#ifdef DELAY_EMIT
if (vc->emit_calls_source == 0)
vc->emit_calls_source =
g_timeout_add(0, real_emit_call_list_changed, vc);
-#else
- real_emit_call_list_changed(vc);
-#endif
}
static gboolean real_emit_multiparty_call_list_changed(void *data)
@@ -738,14 +734,9 @@ static gboolean real_emit_multiparty_call_list_changed(void *data)
static void emit_multiparty_call_list_changed(struct ofono_voicecall *vc)
{
-#ifdef DELAY_EMIT
if (vc->emit_multi_source == 0)
vc->emit_multi_source = g_timeout_add(0,
real_emit_multiparty_call_list_changed, vc);
- }
-#else
- real_emit_multiparty_call_list_changed(vc);
-#endif
}
static void voicecalls_release_queue(struct ofono_voicecall *vc, GSList *calls)