tApplying the surf style to the last patch. - surf - customized build of surf, the suckless webkit browser (HTM) git clone git://src.adamsgaard.dk/surf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit d911219554e1b51f02ac29aaf200f15f083c9dee (DIR) parent a283fa4bc93167c0f59fcd32bd19a6729d8e057d (HTM) 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: M surf.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) --- (DIR) diff --git a/surf.c b/surf.c t@@ -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