libpurple/protocols/jabber/jingle/jingle.c

branch
release-2.x.y
changeset 35977
9b7b48f446f4
parent 32065
15eb0e242206
child 35989
2b5a26ddbb69
child 38258
9a6551eba09c
--- a/libpurple/protocols/jabber/jingle/jingle.c	Tue May 06 12:25:44 2014 +0200
+++ b/libpurple/protocols/jabber/jingle/jingle.c	Tue May 06 12:43:32 2014 +0200
@@ -456,13 +456,15 @@
 		"password", G_TYPE_STRING, password,
 		"relay-type", G_TYPE_STRING, relay_type,
 		NULL);
-	purple_debug_info("jabber", "created gst_structure %" GST_PTR_FORMAT "\n",
+	purple_debug_info("jabber", "created gst_structure %p\n",
 		turn_setup);
 	if (turn_setup) {
 		memset(&value, 0, sizeof(GValue));
 		g_value_init(&value, GST_TYPE_STRUCTURE);
 		gst_value_set_structure(&value, turn_setup);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 		relay_info = g_value_array_append(relay_info, &value);
+G_GNUC_END_IGNORE_DEPRECATIONS
 		gst_structure_free(turn_setup);
 	}
 	return relay_info;
@@ -502,7 +504,9 @@
 		}
 
 		if (relay_ip) {
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 			GValueArray *relay_info = g_value_array_new(0);
+G_GNUC_END_IGNORE_DEPRECATIONS
 
 			if (relay_udp) {
 				relay_info =
@@ -520,9 +524,11 @@
 						relay_password, "tls", relay_info);
 			}
 			params[next_index].name = "relay-info";
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 			g_value_init(&params[next_index].value, G_TYPE_VALUE_ARRAY);
 			g_value_set_boxed(&params[next_index].value, relay_info);
 			g_value_array_free(relay_info);
+G_GNUC_END_IGNORE_DEPRECATIONS
 		}
 	}
 

mercurial