whitespace fixes
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sun, 18 Oct 2015 20:52:15 +0000 (22:52 +0200)
committerChristoph Lohmann <20h@r-36.net>
Sun, 18 Oct 2015 21:01:52 +0000 (23:01 +0200)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
surf.c

diff --git a/surf.c b/surf.c
index b99a84b..8dfd55b 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -391,7 +391,7 @@ cookiejar_new(const char *filename, gboolean read_only,
        return g_object_new(COOKIEJAR_TYPE,
                            SOUP_COOKIE_JAR_TEXT_FILENAME, filename,
                            SOUP_COOKIE_JAR_READ_ONLY, read_only,
-                           SOUP_COOKIE_JAR_ACCEPT_POLICY, policy, NULL);
+                           SOUP_COOKIE_JAR_ACCEPT_POLICY, policy, NULL);
 }
 
 static void
@@ -956,7 +956,7 @@ newclient(void) {
        g_object_set(G_OBJECT(settings), "user-agent", ua, NULL);
        if (enablestyles) {
                g_object_set(G_OBJECT(settings), "user-stylesheet-uri",
-                                        getstyle("about:blank"), NULL);
+                            getstyle("about:blank"), NULL);
        }
        g_object_set(G_OBJECT(settings), "auto-load-images", loadimages,
                        NULL);
@@ -1090,15 +1090,15 @@ contextmenu(WebKitWebView *view, GtkWidget *menu, WebKitHitTestResult *target,
 static void
 menuactivate(GtkMenuItem *item, Client *c) {
        /*
-        * context-menu-action-2000     open link
-        * context-menu-action-1        open link in window
-        * context-menu-action-2        download linked file
-        * context-menu-action-3        copy link location
-        * context-menu-action-7        copy image address
-        * context-menu-action-13       reload
-        * context-menu-action-10       back
-        * context-menu-action-11       forward
-        * context-menu-action-12       stop
+        * context-menu-action-2000 open link
+        * context-menu-action-1    open link in window
+        * context-menu-action-2    download linked file
+        * context-menu-action-3    copy link location
+        * context-menu-action-7    copy image address
+        * context-menu-action-13   reload
+        * context-menu-action-10   back
+        * context-menu-action-11   forward
+        * context-menu-action-12   stop
         */
 
        GtkAction *a = NULL;
@@ -1179,9 +1179,9 @@ static void
 reload(Client *c, const Arg *arg) {
        gboolean nocache = *(gboolean *)arg;
        if(nocache) {
-                webkit_web_view_reload_bypass_cache(c->view);
+               webkit_web_view_reload_bypass_cache(c->view);
        } else {
-                webkit_web_view_reload(c->view);
+               webkit_web_view_reload(c->view);
        }
 }