core: 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:
Ben Chan
2017-03-28 18:35:54 -07:00
committed by Aleksander Morgado
parent 3c4c983642
commit 9823d9d6f6
17 changed files with 41 additions and 41 deletions

View File

@@ -394,7 +394,7 @@ dispose (GObject *object)
MMCallList *self = MM_CALL_LIST (object);
g_clear_object (&self->priv->modem);
g_list_free_full (self->priv->list, (GDestroyNotify)g_object_unref);
g_list_free_full (self->priv->list, g_object_unref);
G_OBJECT_CLASS (mm_call_list_parent_class)->dispose (object);
}