summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-18 16:57:41 +0100
committerLionel Landwerlin <llandwerlin@gmail.com>2013-09-18 16:57:41 +0100
commitb302a2b9067be4f165cf4b8eb5ba3ad069280ace (patch)
treee48ed19808ad8a5b88803772d2d3be1fa5bc55f0
parente34e3f108d3256f9530003d01a13b20b47159822 (diff)
downloadclutter-gst-b302a2b9067be4f165cf4b8eb5ba3ad069280ace.tar.gz
video-sink: remove weak pointer on texture
-rw-r--r--clutter-gst/clutter-gst-video-sink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 3c8e300..5b25e78 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -1518,6 +1518,9 @@ clutter_gst_video_sink_set_texture (ClutterGstVideoSink * sink,
g_signal_handler_disconnect (priv->texture, id);
}
g_array_set_size (priv->signal_handler_ids, 0);
+
+ g_object_remove_weak_pointer (G_OBJECT (priv->texture),
+ (gpointer *) & (priv->texture));
}
priv->texture = texture;