aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar DuClare <akarinotengoku@gmail.com>2009-05-29 22:15:02 +0300
committerGravatar DuClare <akarinotengoku@gmail.com>2009-05-29 22:15:02 +0300
commitd1c6ba765827f985507283080bf67a2b012f2e17 (patch)
tree3c771f3eeb0cafb6568f50eda1efe818c0572334
parent1e66be3a8635040f7e7d3ab828507ba361523a71 (diff)
Remove action 'runcmd': commands are deprecated :)
-rw-r--r--uzbl.c7
-rw-r--r--uzbl.h3
2 files changed, 0 insertions, 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*