All pastes #592460 Raw Edit

Untitled

public text v1 · immutable
#592460 ·published 2007-06-27 19:42 UTC
rendered paste body
===================================================================
--- clock.cpp   (revision 80904)
+++ clock.cpp   (working copy)
@@ -189,10 +189,12 @@
 TimeManager::RaiseEnqueuedEvents ()
 {
        GList *copy = g_list_copy (child_clocks);
+       g_list_foreach (copy, (GFunc)base_ref, NULL);
        for (GList *l = copy; l; l = l->next) {
                Clock *c = (Clock*)l->data;
                c->RaiseAccumulatedEvents ();
        }
+       g_list_foreach (copy, (GFunc)base_unref, NULL);
        g_list_free (copy);
 }