/pidgin/main: f3656ce3d903: Fix build

Tomasz Wasilczyk <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: f3656ce3d9032272e462026768450a805aa0b197
Author:	 Tomasz Wasilczyk <[email protected]>
Date:	 2014-12-07 13:38 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/f3656ce3d903

Description:

Fix build

diffstat:

 libpurple/mediamanager.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (24 lines):

diff --git a/libpurple/mediamanager.c b/libpurple/mediamanager.c
--- a/libpurple/mediamanager.c
+++ b/libpurple/mediamanager.c
@@ -167,9 +167,6 @@ purple_media_manager_init (PurpleMediaMa
 	purple_prefs_add_none("/purple/media/audio/volume");
 	purple_prefs_add_int("/purple/media/audio/volume/input", 10);
 	purple_prefs_add_int("/purple/media/audio/volume/output", 10);
-
-	/* silence a warning */
-	(void)purple_media_element_info_get_instance_private;
 }
 
 static void
@@ -1260,6 +1257,10 @@ purple_media_element_info_get_id(PurpleM
 {
 #ifdef USE_VV
 	gchar *id;
+
+	/* Silence a warning. This could be anywhere below G_DEFINE_TYPE */
+	(void)purple_media_element_info_get_instance_private;
+
 	g_return_val_if_fail(PURPLE_IS_MEDIA_ELEMENT_INFO(info), NULL);
 	g_object_get(info, "id", &id, NULL);
 	return id;
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.