Skip to content
Snippets Groups Projects
Commit b348ddfd authored by Arnaud Bonatti's avatar Arnaud Bonatti Committed by Tim-Philipp Müller
Browse files

gtk: fix compiler warning with recent glib

https://bugzilla.gnome.org/show_bug.cgi?id=793688
parent ff7d14a3
No related branches found
Tags mesa-18.0.0-rc3
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment