pidgin.vv: 78355b8f: Fix compiling with --disable-vv.
maiku at soc.pidgin.im
maiku at soc.pidgin.im
Sun Mar 29 23:05:40 EDT 2009
-----------------------------------------------------------------
Revision: 78355b8f31ae26ed1587e26a0c8267faf7b76ee7
Ancestor: 1c556d414563a9a07c1facce5daa96861e7b4417
Author: maiku at soc.pidgin.im
Date: 2009-03-30T02:49:08
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/78355b8f31ae26ed1587e26a0c8267faf7b76ee7
Modified files:
pidgin/gtkmedia.c
ChangeLog:
Fix compiling with --disable-vv.
-------------- next part --------------
============================================================
--- pidgin/gtkmedia.c 363a63c0bc9ce974964375bbc81cbcd76b89c1ce
+++ pidgin/gtkmedia.c 5b6139a438e6232945bac4ea9bad2eb840c09a66
@@ -1020,10 +1020,12 @@ static PurpleMediaElementInfo default_au
| 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 @@ pidgin_medias_init(void)
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 */
More information about the Commits
mailing list