[gnome-photos/wip/rishi/unit-tests-gegl: 1/4] pipeline



commit f8f782025286aa96b5f78cc5711f80a40d85baf3
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Nov 20 22:58:03 2018 +0100

    pipeline

 tests/unit/photos-test-pipeline.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/unit/photos-test-pipeline.c b/tests/unit/photos-test-pipeline.c
index e58fcc43..128c6160 100644
--- a/tests/unit/photos-test-pipeline.c
+++ b/tests/unit/photos-test-pipeline.c
@@ -68,8 +68,8 @@ photos_test_pipeline_teardown (PhotosTestPipelineFixture *fixture, gconstpointer
 {
   g_clear_object (&fixture->res);
   g_main_context_pop_thread_default (fixture->context);
-  g_clear_pointer (&fixture->context, g_main_context_unref);
-  g_clear_pointer (&fixture->loop, g_main_loop_unref);
+  g_main_context_unref (fixture->context);
+  g_main_loop_unref (fixture->loop);
 }
 
 


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