comparison libpurple/protocols/jabber/jingle/rawudp.c @ 32672:3828a61c44da

A boring and large patch so I can merge heads.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 23 Dec 2011 08:21:58 +0000
parents a8cc50c2279f
children
comparison
equal deleted inserted replaced
32671:0e69949b3e61 32672:3828a61c44da
172 172
173 static void 173 static void
174 jingle_rawudp_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) 174 jingle_rawudp_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
175 { 175 {
176 JingleRawUdp *rawudp; 176 JingleRawUdp *rawudp;
177
178 g_return_if_fail(object != NULL);
177 g_return_if_fail(JINGLE_IS_RAWUDP(object)); 179 g_return_if_fail(JINGLE_IS_RAWUDP(object));
178 180
179 rawudp = JINGLE_RAWUDP(object); 181 rawudp = JINGLE_RAWUDP(object);
180 182
181 switch (prop_id) { 183 switch (prop_id) {
195 197
196 static void 198 static void
197 jingle_rawudp_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) 199 jingle_rawudp_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
198 { 200 {
199 JingleRawUdp *rawudp; 201 JingleRawUdp *rawudp;
202
203 g_return_if_fail(object != NULL);
200 g_return_if_fail(JINGLE_IS_RAWUDP(object)); 204 g_return_if_fail(JINGLE_IS_RAWUDP(object));
201 205
202 rawudp = JINGLE_RAWUDP(object); 206 rawudp = JINGLE_RAWUDP(object);
203 207
204 switch (prop_id) { 208 switch (prop_id) {