From e5908c3f897156b13d1e7592c155bfd5ca2a82a4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 19 Sep 2003 17:41:05 +0000 Subject: use the new action ru system which always runs lists of actions instead of individual ones --- openbox/menuframe.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'openbox/menuframe.c') 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); } } -- cgit v1.2.3