Re: [PATCH] base-modem: remove explicit GDestroyNotify cast on g_object_unref

2018-10-06 Thread Aleksander Morgado
On 10/5/18 7:49 PM, Ben Chan wrote: > 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. > --- Pushed to git master, thanks > src/mm-base-modem.c | 4 ++-- > 1 file changed, 2 i

[PATCH] base-modem: remove explicit GDestroyNotify cast on g_object_unref

2018-10-05 Thread Ben Chan
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. --- src/mm-base-modem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mm-base-modem.c b/src/mm-base-mo