libpurple/protocols/jabber/jingle/iceudp.c

branch
soc.2013.gobjectification
changeset 35065
2fe1b3f20c3c
parent 35061
307195f879f3
child 35076
cadfc3f9a7cc
child 36953
a3d51a768292
--- a/libpurple/protocols/jabber/jingle/iceudp.c	Sun Nov 17 15:27:37 2013 +0530
+++ b/libpurple/protocols/jabber/jingle/iceudp.c	Sun Nov 17 15:56:35 2013 +0530
@@ -298,12 +298,17 @@
 
 			iceudp->priv->local_candidates = g_list_append(
 					iceudp->priv->local_candidates, iceudp_candidate);
+
+			g_object_notify(G_OBJECT(iceudp), "local-candidates");
+
 			return;
 		}
 	}
 
 	iceudp->priv->local_candidates = g_list_append(
 			iceudp->priv->local_candidates, iceudp_candidate);
+
+	g_object_notify(G_OBJECT(iceudp), "local-candidates");
 }
 
 static GList *
@@ -367,6 +372,8 @@
 		g_boxed_free(JINGLE_TYPE_ICEUDP_CANDIDATE, iceudp_candidate);
 	}
 	priv->remote_candidates = g_list_append(priv->remote_candidates, candidate);
+
+	g_object_notify(G_OBJECT(iceudp), "remote-candidates");
 }
 
 static JingleTransport *

mercurial