From b348ddfdedf121b44d7cbf74c8dc0efd3e20b42c Mon Sep 17 00:00:00 2001 From: Arnaud Bonatti Date: Wed, 21 Feb 2018 11:12:10 +0100 Subject: gtk: fix compiler warning with recent glib https://bugzilla.gnome.org/show_bug.cgi?id=793688 --- ext/gtk/gstgtkbasesink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gtk/gstgtkbasesink.c b/ext/gtk/gstgtkbasesink.c index 843c97f1b..2f6734fc1 100644 --- a/ext/gtk/gstgtkbasesink.c +++ b/ext/gtk/gstgtkbasesink.c @@ -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) -- cgit v1.2.3