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.
This commit is contained in:
committed by
Aleksander Morgado
parent
9823d9d6f6
commit
254f2e3412
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user