mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
clutter-score: Initialize ClutterScoreEntry::complete_id
When clutter_score_append_at_marker is called instead of clutter_score_append the complete_id field of ClutterScoreEntry was being left uninitialised. When the entry is eventually freed it would sometimes try to disconnect an invalid signal id. This was causing conformance test failures for me on GLES2.
This commit is contained in:
parent
9d836d8ce5
commit
f8fc194b3b
@ -990,6 +990,7 @@ clutter_score_append_at_marker (ClutterScore *score,
|
||||
entry->marker = g_strdup (marker_name);
|
||||
entry->id = priv->last_id;
|
||||
entry->score = score;
|
||||
entry->complete_id = 0;
|
||||
|
||||
marker_reached_signal = g_strdup_printf ("marker-reached::%s", marker_name);
|
||||
entry->marker_id = g_signal_connect (entry->parent,
|
||||
|
Loading…
Reference in New Issue
Block a user