From: Christoph Lohmann <20h@r-36.net> Date: Thu, 15 Nov 2012 13:53:27 +0000 (+0100) Subject: Applying the surf style to the last patch. X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=commitdiff_plain;h=d911219554e1b51f02ac29aaf200f15f083c9dee Applying the surf style to the last patch. --- 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