Apply Polynomial-C's suggestion for fixing a compile error with

Tue, 25 May 2010 23:39:16 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Tue, 25 May 2010 23:39:16 +0000
changeset 30340
a3fb5b7d9d0b
parent 30339
86115d24ac07
child 30341
f911465b1f78
child 30343
03b250e1cd92

Apply Polynomial-C's suggestion for fixing a compile error with
--disable-gstreamer and --disable-vv. I think there will be a compiler
errow with --disable-gstreamer and vv enabled, but that doesn't seem
important. I'm guessing most people who use vv also use gstreamer?
Is that ALWAYS true?

Fixes #11850

libpurple/media/backend-fs2.h file | annotate | diff | comparison | revisions
--- a/libpurple/media/backend-fs2.h	Tue May 25 20:28:02 2010 +0000
+++ b/libpurple/media/backend-fs2.h	Tue May 25 23:39:16 2010 +0000
@@ -55,6 +55,7 @@
  */
 GType purple_media_backend_fs2_get_type(void);
 
+#ifdef USE_GSTREAMER
 /*
  * Temporary function in order to be able to test while
  * integrating with PurpleMedia
@@ -71,6 +72,7 @@
 void purple_media_backend_fs2_set_output_volume(PurpleMediaBackendFs2 *self,
 		const gchar *sess_id, const gchar *who, double level);
 /* end tmp */
+#endif /* USE_GSTREAMER */
 
 G_END_DECLS
 

mercurial