GSList *it;
for (it = b->actions[j]; it; it = it->next)
- action_free(it->data);
+ action_unref(it->data);
g_slist_free(b->actions[j]);
}
g_free(b);
/* if not bound, then nothing to do! */
if (it == NULL) return FALSE;
- action_run_mouse(b->actions[a], c, state, button, x, y);
+ action_run_mouse(b->actions[a], c, context, state, button, x, y);
return TRUE;
}