From: Dana Jansens Date: Fri, 26 Sep 2003 17:46:27 +0000 (+0000) Subject: remove action_run_string, as this is not going to be a common thing I think X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1241a0cf0da3b7aee0e5df26e74fc517021ff2ba;p=chaz%2Fopenbox remove action_run_string, as this is not going to be a common thing I think --- 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 */