mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
gtk: fix compiler warning with recent glib
https://bugzilla.gnome.org/show_bug.cgi?id=793688
This commit is contained in:
parent
ff7d14a384
commit
b348ddfded
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue