summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 87b269f8..de84dbf0 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -767,12 +767,8 @@ void menu_entry_frame_execute(ObMenuEntryFrame *self, guint state)
if (func)
func(entry, state, data);
- else {
- GSList *it;
-
- for (it = acts; it; it = g_slist_next(it))
- action_run(it->data, client, state);
- }
+ else
+ action_run(acts, client, state);
}
}