commit d911219554e1b51f02ac29aaf200f15f083c9dee
parent a283fa4bc93167c0f59fcd32bd19a6729d8e057d
Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 15 Nov 2012 14:53:27 +0100
Applying the surf style to the last patch.
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/surf.c b/surf.c
@@ -892,16 +892,16 @@ titlechange(WebKitWebView *v, WebKitWebFrame *f, const char *t, Client *c) {
void
toggle(Client *c, const Arg *arg) {
- WebKitWebSettings *settings;
- char *name = (char *)arg->v;
- gboolean value;
- Arg a = { .b = FALSE };
+ WebKitWebSettings *settings;
+ char *name = (char *)arg->v;
+ gboolean value;
+ Arg a = { .b = FALSE };
- settings = webkit_web_view_get_settings(c->view);
- g_object_get(G_OBJECT(settings), name, &value, NULL);
- g_object_set(G_OBJECT(settings), name, !value, NULL);
+ settings = webkit_web_view_get_settings(c->view);
+ g_object_get(G_OBJECT(settings), name, &value, NULL);
+ g_object_set(G_OBJECT(settings), name, !value, NULL);
- reload(c,&a);
+ reload(c,&a);
}
void