summaryrefslogtreecommitdiff
path: root/openbox/mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/mouse.c')
-rw-r--r--openbox/mouse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c
index 97616096..dbd48695 100644
--- a/openbox/mouse.c
+++ b/openbox/mouse.c
@@ -153,10 +153,10 @@ void mouse_unbind_all()
gint j;
for (j = 0; j < OB_NUM_MOUSE_ACTIONS; ++j) {
- GSList *it;
+ GSList *jt;
- for (it = b->actions[j]; it; it = g_slist_next(it))
- actions_act_unref(it->data);
+ for (jt = b->actions[j]; jt; jt = g_slist_next(jt))
+ actions_act_unref(jt->data);
g_slist_free(b->actions[j]);
}
g_free(b);