aboutsummaryrefslogtreecommitdiff
path: root/plugins/tests
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-03-28 18:35:55 -0700
committerAleksander Morgado <aleksander@aleksander.es>2017-03-29 10:22:18 +0200
commit254f2e3412ac05833cdc095558c8143ad2fbddfc (patch)
tree657739d2e8f4c0218400aa692a7ecdfb17bac436 /plugins/tests
parent9823d9d6f613d33e868352328a7056809996e790 (diff)
plugins: remove explicit GDestroyNotify cast on g_free / g_object_unref
g_free and g_object_unref are in form of `void (*)(gpointer)`, which matches the GDestroyNotify signature. An explicit GDestroyNotify cast on g_free and g_object_unref is thus not needed.
Diffstat (limited to 'plugins/tests')
-rw-r--r--plugins/tests/test-fixture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tests/test-fixture.c b/plugins/tests/test-fixture.c
index 3013fe04..d496fee7 100644
--- a/plugins/tests/test-fixture.c
+++ b/plugins/tests/test-fixture.c
@@ -135,7 +135,7 @@ common_get_modem (TestFixture *fixture,
ready = TRUE;
}
- g_list_free_full (modems, (GDestroyNotify) g_object_unref);
+ g_list_free_full (modems, g_object_unref);
g_object_unref (manager);
if (ready)