set slider range before setting duration

This commit is contained in:
Brandon Lewis 2010-07-21 18:15:56 +02:00 committed by Edward Hervey
parent c4219a9304
commit 853c31e75e

View file

@ -364,13 +364,13 @@ layer_object_removed_cb (GESTimelineLayer * layer, GESTimelineObject * object,
void
connect_to_filesource (GESTimelineObject * object, App * app)
{
g_signal_connect (G_OBJECT (object), "notify::duration",
G_CALLBACK (filesource_notify_duration_cb), app);
filesource_notify_duration_cb (object, NULL, app);
g_signal_connect (G_OBJECT (object), "notify::max-duration",
G_CALLBACK (filesource_notify_max_duration_cb), app);
filesource_notify_max_duration_cb (object, NULL, app);
g_signal_connect (G_OBJECT (object), "notify::duration",
G_CALLBACK (filesource_notify_duration_cb), app);
filesource_notify_duration_cb (object, NULL, app);
}
void