diff --git a/src/gui.c b/src/gui.c
index 4c979eb77efe72c2e4aa191c7d34512fbbaeab47..a5dad615ba4f46bd8060c780e4abdc5053c1849e 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
xid = gdk_x11_drawable_get_xid (drawable);
/*link the gst sink element to the XID*/
- gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (sinkElement),xid);
+ gst_x_overlay_set_window_handle (GST_X_OVERLAY (sinkElement),xid);
return_pos:
return sinkElement;