From d1c6ba765827f985507283080bf67a2b012f2e17 Mon Sep 17 00:00:00 2001 From: DuClare Date: Fri, 29 May 2009 22:15:02 +0300 Subject: [PATCH] Remove action 'runcmd': commands are deprecated :) --- uzbl.c | 7 ------- uzbl.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/uzbl.c b/uzbl.c index 2b0571d..51e89e6 100644 --- a/uzbl.c +++ b/uzbl.c @@ -612,7 +612,6 @@ static struct {char *name; Command command[2];} cmdlist[] = { "search_reverse", {search_reverse_text, NOSPLIT} }, { "dehilight", {dehilight, 0} }, { "toggle_insert_mode", {toggle_insert_mode, 0} }, - { "runcmd", {runcmd, NOSPLIT} }, { "set", {set_var, NOSPLIT} }, { "get", {get_var, NOSPLIT} }, { "bind", {act_bind, NOSPLIT} }, @@ -1555,12 +1554,6 @@ set_var_value(gchar *name, gchar *val) { } static void -runcmd(WebKitWebView* page, GArray *argv) { - (void) page; - parse_cmd_line(argv_idx(argv, 0)); -} - -static void render_html() { Behaviour *b = &uzbl.behave; diff --git a/uzbl.h b/uzbl.h index bedefe0..a78a79e 100644 --- a/uzbl.h +++ b/uzbl.h @@ -339,9 +339,6 @@ static void parse_command(const char *cmd, const char *param); static void -runcmd(WebKitWebView *page, GArray *argv); - -static void parse_cmd_line(const char *ctl_line); static gchar* -- 1.7.9.5