changeset 26375:0ee10b3e8ee6

Fix compiling with --disable-vv.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Mon, 30 Mar 2009 02:49:08 +0000
parents 84374a764255
children 49b7044be3de
files pidgin/gtkmedia.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmedia.c	Mon Mar 30 02:37:14 2009 +0000
+++ b/pidgin/gtkmedia.c	Mon Mar 30 02:49:08 2009 +0000
@@ -1020,10 +1020,12 @@
 			| PURPLE_MEDIA_ELEMENT_ONE_SINK,
 	create_default_audio_sink,	/* create */
 };
+#endif  /* USE_VV */
 
 void
 pidgin_medias_init(void)
 {
+#ifdef USE_VV
 	PurpleMediaManager *manager = purple_media_manager_get();
 	g_signal_connect(G_OBJECT(manager), "init-media",
 			 G_CALLBACK(pidgin_media_new_cb), NULL);
@@ -1033,6 +1035,6 @@
 	purple_media_manager_set_active_element(manager, &default_video_sink);
 	purple_media_manager_set_active_element(manager, &default_audio_src);
 	purple_media_manager_set_active_element(manager, &default_audio_sink);
+#endif
 }
 
-#endif  /* USE_VV */