Remove action 'runcmd': commands are deprecated :)
authorDuClare <akarinotengoku@gmail.com>
Fri, 29 May 2009 19:15:02 +0000 (22:15 +0300)
committerDuClare <akarinotengoku@gmail.com>
Fri, 29 May 2009 19:15:02 +0000 (22:15 +0300)
uzbl.c
uzbl.h

diff --git a/uzbl.c b/uzbl.c
index 2b0571d..51e89e6 100644 (file)
--- 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 (file)
--- 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*