changeset 30092:6b460b78b720

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
author Mark Doliner <mark@kingant.net>
date Tue, 25 May 2010 23:39:16 +0000
parents f48bc6e59646
children 2152d97d145f 295acc982197
files libpurple/media/backend-fs2.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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