pidgin/pidgin

Parents 1788230a5ef3
Children 925f12595750
Disable deprecations around GParameter as it generates a ton of warnings and that API is likely to change in the near future.
--- a/libpurple/media.h Fri Oct 04 03:46:50 2019 +0000
+++ b/libpurple/media.h Mon Oct 07 20:21:38 2019 -0500
@@ -185,8 +185,10 @@
* - "sdes-note" : The NOTE to put in SDES messages
* - "sdes-phone" : The PHONE to put in SDES messages
*/
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
void purple_media_set_params(PurpleMedia *media,
guint num_params, GParameter *params);
+G_GNUC_END_IGNORE_DEPRECATIONS
/**
* purple_media_get_available_params:
@@ -230,10 +232,12 @@
*
* Returns: %TRUE The stream was added successfully, %FALSE otherwise.
*/
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gboolean purple_media_add_stream(PurpleMedia *media, const gchar *sess_id,
const gchar *who, PurpleMediaSessionType type,
gboolean initiator, const gchar *transmitter,
guint num_params, GParameter *params);
+G_GNUC_END_IGNORE_DEPRECATIONS
/**
* purple_media_get_session_type: