diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-26 17:46:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-26 17:46:27 +0000 |
| commit | 1241a0cf0da3b7aee0e5df26e74fc517021ff2ba (patch) | |
| tree | 0270ed479cdc4f0f02e9e4361415022656acb2ad /openbox | |
| parent | a51d2082bd28baa11e28441bc0fb4016150618df (diff) | |
remove action_run_string, as this is not going to be a common thing I think
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/action.c | 14 | ||||
| -rw-r--r-- | openbox/action.h | 4 |
2 files changed, 0 insertions, 18 deletions
diff --git a/openbox/action.c b/openbox/action.c index daa18ad1..8a1a7d27 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -926,20 +926,6 @@ void action_run_list(GSList *acts, ObClient *c, ObFrameContext context, } } -void action_run_string(const gchar *name, struct _ObClient *c) -{ - ObAction *a; - GSList *l; - - a = action_from_string(name, OB_USER_ACTION_NONE); - g_assert(a); - - l = g_slist_append(NULL, a); - - action_run(l, c, 0); -} - -void action_execute(union ActionData *data) { GError *e = NULL; char *cmd; diff --git a/openbox/action.h b/openbox/action.h index 78f2176f..f2ae7cbc 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -209,10 +209,6 @@ void action_run_list(GSList *acts, struct _ObClient *c, ObFrameContext context, #define action_run(a, c, s) \ action_run_list(a, c, OB_FRAME_CONTEXT_NONE, s, 0, -1, -1, FALSE, FALSE) -/*! This is only for internal usage, i.e. not meant for user bindings and - such! */ -void action_run_string(const gchar *name, struct _ObClient *c); - /* Execute */ void action_execute(union ActionData *data); /* ActivateAction */ |
