summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Bonatti <arnaud.bonatti@gmail.com>2018-02-21 11:12:10 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-02-21 11:35:39 +0000
commitb348ddfdedf121b44d7cbf74c8dc0efd3e20b42c (patch)
tree3bc161541c9fd2a1965ca86622e249bfb15a25da
parentff7d14a38413d66cde3b3ac1ec65ebe6e4e54c78 (diff)
gtk: fix compiler warning with recent glib
https://bugzilla.gnome.org/show_bug.cgi?id=793688
-rw-r--r--ext/gtk/gstgtkbasesink.c2
1 files changed, 1 insertions, 1 deletions
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)