pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a283fa4
)
Applying the surf style to the last patch.
author
Christoph Lohmann
<20h@r-36.net>
Thu, 15 Nov 2012 13:53:27 +0000
(14:53 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Thu, 15 Nov 2012 13:53:27 +0000
(14:53 +0100)
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
7fa0eb6
..
2465fd1
100644
(file)
--- 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) {
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
}
void