ges-clip: when a child, is removed, disconnect from its notifies.
authorMathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Wed, 28 Aug 2013 17:56:29 +0000 (19:56 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 28 Aug 2013 18:03:14 +0000 (14:03 -0400)
ges/ges-clip.c

index 8bee496..fca9892 100644 (file)
@@ -349,6 +349,9 @@ _child_added (GESContainer * container, GESTimelineElement * element)
 static void
 _child_removed (GESContainer * container, GESTimelineElement * element)
 {
+  g_signal_handlers_disconnect_by_func (element, _child_priority_changed_cb,
+      container);
+
   _compute_height (container);
 }