/pidgin/main: 8845db3de73a: Fix call to gst_bus_set_sync_handler.
Elliott Sales de Andrade
qulogic at pidgin.im
Mon Nov 5 18:15:55 EST 2012
Changeset: 8845db3de73a2e6284a3706bccb13b66547502f3
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2012-09-02 04:09 -0400
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/8845db3de73a
Description:
Fix call to gst_bus_set_sync_handler.
diffstat:
libpurple/mediamanager.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (17 lines):
diff --git a/libpurple/mediamanager.c b/libpurple/mediamanager.c
--- a/libpurple/mediamanager.c
+++ b/libpurple/mediamanager.c
@@ -274,8 +274,11 @@ purple_media_manager_get_pipeline(Purple
gst_bus_add_signal_watch(GST_BUS(bus));
g_signal_connect(G_OBJECT(bus), "message",
G_CALLBACK(pipeline_bus_call), manager);
- gst_bus_set_sync_handler(bus,
- gst_bus_sync_signal_handler, NULL);
+#if GST_CHECK_VERSION(0,11,0)
+ gst_bus_set_sync_handler(bus, gst_bus_sync_signal_handler, NULL, NULL);
+#else
+ gst_bus_set_sync_handler(bus, gst_bus_sync_signal_handler, NULL);
+#endif
gst_object_unref(bus);
filename = g_build_filename(purple_user_dir(),
More information about the Commits
mailing list