diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-19 17:41:05 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-19 17:41:05 +0000 |
| commit | e5908c3f897156b13d1e7592c155bfd5ca2a82a4 (patch) | |
| tree | 5e731952b26254128b7aa2ff41032bafa8f50d84 /openbox/menuframe.c | |
| parent | 77d83472341493ddcf334ea1654671118c83dc35 (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.c | 8 |
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); } } |
