pidgin/pidgin

Parents ac06f8981825
Children a8d60f091a56
GSource is not a GObject and has its own ref/unref functions

Testing Done:
Ran the unit tests.

Reviewed at https://reviews.imfreedom.org/r/273/
--- a/libpurple/upnp.c Mon Dec 14 16:31:55 2020 -0600
+++ b/libpurple/upnp.c Mon Dec 14 17:49:08 2020 -0600
@@ -593,7 +593,7 @@
G_SOURCE_FUNC(purple_upnp_discover_udp_read),
dd, NULL);
dd->inpa = g_source_attach(source, NULL);
- g_object_unref(source);
+ g_source_unref(source);
dd->tima = g_timeout_add_seconds(DISCOVERY_TIMEOUT,
purple_upnp_discover_timeout, dd);
return;