diff options
author | Quentin Rameau <quinq@fifth.space> | 2015-11-18 14:31:14 +0100 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2015-11-18 14:59:13 +0100 |
commit | 4415c475f7063ac5df0a0cca6b6696f0987f1404 (patch) | |
tree | 178ad88445eb21828a659a0e05d681d024a658fe /surf.c | |
parent | b7cc1ae9644097899f881eb321c445ffca0bb3f2 (diff) | |
download | surf-4415c475f7063ac5df0a0cca6b6696f0987f1404.tar.gz surf-4415c475f7063ac5df0a0cca6b6696f0987f1404.tar.bz2 surf-4415c475f7063ac5df0a0cca6b6696f0987f1404.zip |
Remove source(), it has been removed from webkit2gtk
WebKit2GTK doesn't provide a direct way to view source anymore, we'll
have to do that ourselves with a GtkSourceView if we still need that.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -197,7 +197,6 @@ static void scroll(GtkAdjustment *a, const Arg *arg); static void setatom(Client *c, int a, const char *v); static void setup(void); static void sigchld(int unused); -static void source(Client *c, const Arg *arg); static void spawn(Client *c, const Arg *arg); static void stop(Client *c, const Arg *arg); static void titlechange(WebKitWebView *view, GParamSpec *pspec, Client *c); @@ -1373,17 +1372,6 @@ sigchld(int unused) } void -source(Client *c, const Arg *arg) -{ - Arg a = { .b = FALSE }; - gboolean s; - - s = webkit_web_view_get_view_source_mode(c->view); - webkit_web_view_set_view_source_mode(c->view, !s); - reload(c, &a); -} - -void spawn(Client *c, const Arg *arg) { if (fork() == 0) { |