aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-loader.c b/tests/test-loader.c
index 2140294..28c56aa 100644
--- a/tests/test-loader.c
+++ b/tests/test-loader.c
@@ -102,6 +102,7 @@ entry_change_cb (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer da
{
IndicatorObjectEntry *other_entry = data;
other_entry->name_hint = entry->name_hint;
+ other_entry->parent_object = entry->parent_object;
return;
}
@@ -140,6 +141,9 @@ test_loader_filename_dummy_signaler (void)
g_assert(g_strcmp0(removed_entry->name_hint, "removed") == 0);
g_assert(g_strcmp0(moved_entry->name_hint, "moved") == 0);
+ g_assert(added_entry->parent_object == object);
+ g_assert(removed_entry->parent_object == NULL);
+
g_object_unref(object);
return;