projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff7d14a
)
gtk: fix compiler warning with recent glib
author
Arnaud Bonatti
<arnaud.bonatti@gmail.com>
Wed, 21 Feb 2018 10:12:10 +0000
(11:12 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 21 Feb 2018 11:35:39 +0000
(11:35 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=793688
ext/gtk/gstgtkbasesink.c
patch
|
blob
|
history
diff --git
a/ext/gtk/gstgtkbasesink.c
b/ext/gtk/gstgtkbasesink.c
index
843c97f
..
2f6734f
100644
(file)
--- 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)