Remove unneeded reference

This commit is contained in:
Sebastian Dröge 2017-10-26 12:56:52 +02:00
parent 95317267ec
commit 6bb9eaf739

View file

@ -69,7 +69,7 @@ mod tutorial5 {
fn analyze_streams(playbin: &gst::Element, textbufcell: &SendCell<gtk::TextBuffer>) {
{
let textbuf = textbufcell.borrow();
textbuf.set_text(&"");
textbuf.set_text("");
}
add_streams_info(playbin, textbufcell, "video");