X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmouse.c;h=dbd48695277042f6caead446271b2c51434cd6ae;hb=1492bd0e7d92b3c7c1ca6adfe46dab4b8c2d3fed;hp=97616096d5ffafc6b9908c2a56535636e06ed753;hpb=c12d09bde85e40fdfbb36225a1b596b5f27c2335;p=chaz%2Fopenbox 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);