base-modem: remove explicit GDestroyNotify cast on g_object_unref

g_object_unref is in form of  `void (*)(gpointer)`, which matches the
GDestroyNotify signature. An explicit GDestroyNotify cast on
g_object_unref is thus not needed.
This commit is contained in:
Ben Chan
2018-10-05 10:49:05 -07:00
committed by Aleksander Morgado
parent 8bde29c9e2
commit f7cb84788e

View File

@@ -379,7 +379,7 @@ disable_ready (MMBaseModem *self,
}
g_clear_error (&error);
g_list_free_full (disable_tasks, (GDestroyNotify)g_object_unref);
g_list_free_full (disable_tasks, g_object_unref);
}
void
@@ -439,7 +439,7 @@ enable_ready (MMBaseModem *self,
}
g_clear_error (&error);
g_list_free_full (enable_tasks, (GDestroyNotify)g_object_unref);
g_list_free_full (enable_tasks, g_object_unref);
}
void