summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/mix_vm.c')
-rw-r--r--mixlib/mix_vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mixlib/mix_vm.c b/mixlib/mix_vm.c
index 4d28e02..95f9f41 100644
--- a/mixlib/mix_vm.c
+++ b/mixlib/mix_vm.c
@@ -577,7 +577,7 @@ mix_vm_set_breakpoint (mix_vm_t *vm, guint lineno)
tr.lineno = lineno;
tr.vm = vm;
tr.result = MIX_VM_BP_INV_LINE;
- g_tree_traverse (vm->line_table, set_break_, G_IN_ORDER, (gpointer)&tr);
+ g_tree_foreach (vm->line_table, set_break_, (gpointer)&tr);
if (tr.result == MIX_VM_BP_OK)
return tr.lineno;
else
@@ -629,7 +629,7 @@ mix_vm_clear_breakpoint (mix_vm_t *vm, guint lineno)
tr.lineno = lineno;
tr.vm = vm;
tr.result = MIX_VM_BP_INV_LINE;
- g_tree_traverse (vm->line_table, clear_break_, G_IN_ORDER, (gpointer)&tr);
+ g_tree_foreach (vm->line_table, clear_break_, (gpointer)&tr);
return tr.result;
}