[gssdp] tests: Remove unnecessary g_source_remove



commit 57a6a083e7857fee0d91c28370856bcc64789d20
Author: Jens Georg <mail jensge org>
Date:   Sat May 24 14:56:09 2014 +0200

    tests: Remove unnecessary g_source_remove
    
    Signed-off-by: Jens Georg <mail jensge org>

 tests/gtest/test-functional.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/tests/gtest/test-functional.c b/tests/gtest/test-functional.c
index e263ecf..243caee 100644
--- a/tests/gtest/test-functional.c
+++ b/tests/gtest/test-functional.c
@@ -385,7 +385,6 @@ test_discovery_versioned (void)
         g_source_remove (timeout_id);
         timeout_id = g_timeout_add_seconds (5, quit_loop, data.loop);
         g_main_loop_run (data.loop);
-        g_source_remove (timeout_id);
 
         g_object_unref (browser);
         g_object_unref (client);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]