[clutter-gst/clutter-gst-2.0] video-sink: remove weak pointer on texture
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gst/clutter-gst-2.0] video-sink: remove weak pointer on texture
- Date: Wed, 18 Sep 2013 15:57:52 +0000 (UTC)
commit b302a2b9067be4f165cf4b8eb5ba3ad069280ace
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Wed Sep 18 16:57:41 2013 +0100
video-sink: remove weak pointer on texture
clutter-gst/clutter-gst-video-sink.c | 3 +++
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]