aboutsummaryrefslogtreecommitdiffhomepage
path: root/callbacks.c
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2009-10-25 14:08:35 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2009-10-25 14:08:35 -0600
commit1c28354f0e6e54395f494a79b4a43285f0dfa71f (patch)
tree5d97c3a75f510984d5e4a04837796720dd207be4 /callbacks.c
parent38b9b08b1e16c9f35801908722bfa1c5f68f3c7e (diff)
remove pointless cmd_{cookie,scheme}_handler()
Diffstat (limited to 'callbacks.c')
-rw-r--r--callbacks.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/callbacks.c b/callbacks.c
index 175f4a3..b986172 100644
--- a/callbacks.c
+++ b/callbacks.c
@@ -231,32 +231,6 @@ cmd_caret_browsing() {
}
void
-cmd_cookie_handler() {
- gchar **split = g_strsplit(uzbl.behave.cookie_handler, " ", 2);
- /* pitfall: doesn't handle chain actions; must the sync_ action manually */
- if ((g_strcmp0(split[0], "sh") == 0) ||
- (g_strcmp0(split[0], "spawn") == 0)) {
- g_free (uzbl.behave.cookie_handler);
- uzbl.behave.cookie_handler =
- g_strdup_printf("sync_%s %s", split[0], split[1]);
- }
- g_strfreev (split);
-}
-
-void
-cmd_scheme_handler() {
- gchar **split = g_strsplit(uzbl.behave.scheme_handler, " ", 2);
- /* pitfall: doesn't handle chain actions; must the sync_ action manually */
- if ((g_strcmp0(split[0], "sh") == 0) ||
- (g_strcmp0(split[0], "spawn") == 0)) {
- g_free (uzbl.behave.scheme_handler);
- uzbl.behave.scheme_handler =
- g_strdup_printf("sync_%s %s", split[0], split[1]);
- }
- g_strfreev (split);
-}
-
-void
cmd_fifo_dir() {
uzbl.behave.fifo_dir = init_fifo(uzbl.behave.fifo_dir);
}