remove action_run_string, as this is not going to be a common thing I think
This commit is contained in:
parent
a51d2082bd
commit
1241a0cf0d
2 changed files with 0 additions and 18 deletions
|
@ -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;
|
GError *e = NULL;
|
||||||
char *cmd;
|
char *cmd;
|
||||||
|
|
|
@ -209,10 +209,6 @@ void action_run_list(GSList *acts, struct _ObClient *c, ObFrameContext context,
|
||||||
#define action_run(a, c, s) \
|
#define action_run(a, c, s) \
|
||||||
action_run_list(a, c, OB_FRAME_CONTEXT_NONE, s, 0, -1, -1, FALSE, FALSE)
|
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 */
|
/* Execute */
|
||||||
void action_execute(union ActionData *data);
|
void action_execute(union ActionData *data);
|
||||||
/* ActivateAction */
|
/* ActivateAction */
|
||||||
|
|
Loading…
Reference in a new issue