/pidgin/main: 16d5676ac049: Fix build for glib < 2.37.3

Tomasz Wasilczyk <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 16d5676ac04931dacb8aeb390d8ced159cb2ef3b
Author:	 Tomasz Wasilczyk <[email protected]>
Date:	 2014-12-09 00:54 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/16d5676ac049

Description:

Fix build for glib < 2.37.3

diffstat:

 libpurple/media/candidate.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (14 lines):

diff --git a/libpurple/media/candidate.c b/libpurple/media/candidate.c
--- a/libpurple/media/candidate.c
+++ b/libpurple/media/candidate.c
@@ -93,8 +93,10 @@ purple_media_candidate_init(PurpleMediaC
 	priv->password = NULL;
 	priv->ttl = 0;
 
+#if GLIB_CHECK_VERSION(2, 37, 3)
 	/* silence a warning */
 	(void)purple_media_candidate_get_instance_private;
+#endif
 }
 
 static void
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.