Commit b348ddfd authored by Arnaud Bonatti's avatar Arnaud Bonatti Committed by Tim-Philipp Müller

gtk: fix compiler warning with recent glib

https://bugzilla.gnome.org/show_bug.cgi?id=793688
parent ff7d14a3
......@@ -396,7 +396,7 @@ gst_gtk_base_sink_change_state (GstElement * element, GstStateChange transition)
GST_OBJECT_LOCK (gtk_sink);
if (gtk_sink->window)
window = g_object_ref (gtk_sink->window);
window = g_object_ref (GTK_WINDOW (gtk_sink->window));
GST_OBJECT_UNLOCK (gtk_sink);
if (window)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment