# HG changeset patch # User Mike Ruprecht # Date 1238381348 0 # Node ID 0ee10b3e8ee6038064a7e0df8295fb52f4716b01 # Parent 84374a764255ae9aecdcf29bdbc593c387bd7cc9 Fix compiling with --disable-vv. diff -r 84374a764255 -r 0ee10b3e8ee6 pidgin/gtkmedia.c --- 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 */