ges: Disconnect the TrackObject when removed from a Track
authorThibault Saunier <thibault.saunier@collabora.com>
Fri, 23 Dec 2011 18:23:31 +0000 (19:23 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 11 Jan 2012 14:56:17 +0000 (11:56 -0300)
ges/ges-track.c

index db7ac2c57d1e7991c7afa0bc9673b0e42b41dc90..60f2979722f60697fb0dc7c7fdfcdbfafd95c0ec 100644 (file)
@@ -559,6 +559,8 @@ ges_track_remove_object (GESTrack * track, GESTrackObject * object)
     }
   }
 
+  g_signal_handlers_disconnect_by_func (object, sort_track_objects_cb, NULL);
+
   ges_track_object_set_track (object, NULL);
 
   g_signal_emit (track, ges_track_signals[TRACK_OBJECT_REMOVED], 0,