/pidgin/main: 5b70cdb613e9: Update deprecated GStreamer calls.
Elliott Sales de Andrade
qulogic at pidgin.im
Mon Aug 6 03:42:22 EDT 2012
Changeset: 5b70cdb613e9d5956a9ed9a7d35d46be94f7dbe0
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2012-08-06 01:59 -0400
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/5b70cdb613e9
Description:
Update deprecated GStreamer calls.
diffstat:
libpurple/mediamanager.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (19 lines):
diff --git a/libpurple/mediamanager.c b/libpurple/mediamanager.c
--- a/libpurple/mediamanager.c
+++ b/libpurple/mediamanager.c
@@ -742,8 +742,13 @@ window_id_cb(GstBus *bus, GstMessage *ms
| G_SIGNAL_MATCH_DATA, 0, 0, NULL,
window_id_cb, ow);
- gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(
- GST_MESSAGE_SRC(msg)), ow->window_id);
+#if GST_CHECK_VERSION(0,10,31)
+ gst_x_overlay_set_window_handle(GST_X_OVERLAY(GST_MESSAGE_SRC(msg)),
+ ow->window_id);
+#else
+ gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(GST_MESSAGE_SRC(msg)),
+ ow->window_id);
+#endif
}
#endif
More information about the Commits
mailing list