summaryrefslogtreecommitdiff
path: root/tests/testmultiset.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testmultiset.c')
-rw-r--r--tests/testmultiset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testmultiset.c b/tests/testmultiset.c
index 81a4598..0ce6326 100644
--- a/tests/testmultiset.c
+++ b/tests/testmultiset.c
@@ -110,7 +110,7 @@ enum {
};
MultiSetTests* multi_set_tests_construct (GType object_type, const gchar* name);
CollectionTests* collection_tests_construct (GType object_type, const gchar* name);
-void gee_test_case_add_test (GeeTestCase* self, const gchar* name, GeeTestCaseTestMethod test, void* test_target);
+void gee_test_case_add_test (GeeTestCase* self, const gchar* name, GeeTestCaseTestMethod test, void* test_target, GDestroyNotify test_target_destroy_notify);
static void multi_set_tests_test_duplicates_are_retained (MultiSetTests* self);
static void _multi_set_tests_test_duplicates_are_retained_gee_test_case_test_method (gpointer self);
@@ -126,7 +126,7 @@ MultiSetTests* multi_set_tests_construct (GType object_type, const gchar* name)
g_return_val_if_fail (name != NULL, NULL);
_tmp0_ = name;
self = (MultiSetTests*) collection_tests_construct (object_type, _tmp0_);
- gee_test_case_add_test ((GeeTestCase*) self, "[MultiSet] duplicates are retained", _multi_set_tests_test_duplicates_are_retained_gee_test_case_test_method, self);
+ gee_test_case_add_test ((GeeTestCase*) self, "[MultiSet] duplicates are retained", _multi_set_tests_test_duplicates_are_retained_gee_test_case_test_method, g_object_ref (self), g_object_unref);
return self;
}