commenting.
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index 0304a9a..e40bfd0 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -115,6 +115,7 @@ static void update(Client *c);
 static void windowobjectcleared(GtkWidget *w, WebKitWebFrame *frame, JSContextRef js, JSObjectRef win, Client *c);
 static void zoom(Client *c, const Arg *arg);
 
+/* configuration, allows nested code to access above variables */
 #include "config.h"
 
 void
@@ -450,10 +451,10 @@ newclient(void) {
        gdk_window_add_filter(GTK_WIDGET(c->win)->window, processx, c);
        webkit_web_view_set_full_content_zoom(c->view, TRUE);
        settings = webkit_web_view_get_settings(c->view);
-       g_object_set (G_OBJECT(settings), "user-agent", "surf", NULL);
+       g_object_set(G_OBJECT(settings), "user-agent", "surf", NULL);
        filename = g_build_filename(workdir, "style.css", NULL);
        filename = g_strdup_printf("file://%s", filename);
-       g_object_set (G_OBJECT(settings), "user-stylesheet-uri", filename, NULL);
+       g_object_set(G_OBJECT(settings), "user-stylesheet-uri", filename, NULL);
 
        c->download = NULL;
        c->title = NULL;