summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-19 17:41:05 +0000
committerDana Jansens <danakj@orodu.net>2003-09-19 17:41:05 +0000
commite5908c3f897156b13d1e7592c155bfd5ca2a82a4 (patch)
tree5e731952b26254128b7aa2ff41032bafa8f50d84 /openbox/menuframe.c
parent77d83472341493ddcf334ea1654671118c83dc35 (diff)
use the new action ru system which always runs lists of actions instead of individual ones
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);
}
}