remove action_run_string, as this is not going to be a common thing I think

This commit is contained in:
Dana Jansens 2003-09-26 17:46:27 +00:00
parent a51d2082bd
commit 1241a0cf0d
2 changed files with 0 additions and 18 deletions

View file

@ -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;

View file

@ -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 */