diff options
author | keis <keijser@gmail.com> | 2009-10-18 22:22:43 +0200 |
---|---|---|
committer | keis <keijser@gmail.com> | 2009-10-19 19:58:26 +0200 |
commit | ac94640f72277e23cf82183227dcef8bce196f49 (patch) | |
tree | e05f46713181fbd3c1a9d8621aef5576fe857174 /uzbl-core.c | |
parent | 1efb501becab71721c2c4d9d48b63fc8127575c1 (diff) |
Remove unused actions code.
Diffstat (limited to 'uzbl-core.c')
-rw-r--r-- | uzbl-core.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/uzbl-core.c b/uzbl-core.c index 5a7cd0a..606dc5a 100644 --- a/uzbl-core.c +++ b/uzbl-core.c @@ -635,28 +635,6 @@ commands_hash(void) /* -- CORE FUNCTIONS -- */ -void -free_action(gpointer act) { - Action *action = (Action*)act; - g_free(action->name); - if (action->param) - g_free(action->param); - g_free(action); -} - -Action* -new_action(const gchar *name, const gchar *param) { - Action *action = g_new(Action, 1); - - action->name = g_strdup(name); - if (param) - action->param = g_strdup(param); - else - action->param = NULL; - - return action; -} - bool file_exists (const char * filename) { return (access(filename, F_OK) == 0); |