summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-15 14:53:27 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-15 14:53:27 +0100
commitd911219554e1b51f02ac29aaf200f15f083c9dee (patch)
treed87193019ac0d23d5231043547d5748f1f57ecf5
parenta283fa4bc93167c0f59fcd32bd19a6729d8e057d (diff)
downloadsurf-d911219554e1b51f02ac29aaf200f15f083c9dee.tar.gz
surf-d911219554e1b51f02ac29aaf200f15f083c9dee.tar.bz2
surf-d911219554e1b51f02ac29aaf200f15f083c9dee.zip
Applying the surf style to the last patch.
-rw-r--r--surf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/surf.c b/surf.c
index 7fa0eb6..2465fd1 100644
--- 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