pidgin/pidgin

Parents e3c4fde8a94a
Children 0f21f048be53
Disable deprecation warnings for the functions that have GParameter in their arguments
--- a/libpurple/media.h Mon Oct 07 02:30:39 2019 -0500
+++ b/libpurple/media.h Mon Oct 07 02:31:40 2019 -0500
@@ -161,8 +161,10 @@
*
* @since 2.8.0
*/
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
void purple_media_set_params(PurpleMedia *media,
guint num_params, GParameter *params);
+G_GNUC_END_IGNORE_DEPRECATIONS
/**
* Gets the list of optional parameters supported by the media backend.
@@ -208,10 +210,12 @@
*
* @since 2.6.0
*/
+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
/**
* Gets the session type from a session