[hackers] [surf] some polishing. || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Wed, 28 Oct 2009 18:27:18 +0000 (UTC)

changeset: 161:ea4b1f2d8b55
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Wed Oct 28 19:27:11 2009 +0100
files: surf.c
description:
some polishing.

diff -r 9181c237d941 -r ea4b1f2d8b55 surf.c
--- a/surf.c Wed Oct 28 17:33:31 2009 +0100
+++ b/surf.c Wed Oct 28 19:27:11 2009 +0100
@@ -472,12 +472,12 @@
         /* VBox */
         c->vbox = gtk_vbox_new(FALSE, 0);
 
- /* scrolled window */
+ /* Scrolled Window */
         c->scroll = gtk_scrolled_window_new(NULL, NULL);
         gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(c->scroll),
                         GTK_POLICY_NEVER, GTK_POLICY_NEVER);
 
- /* webview */
+ /* Webview */
         c->view = WEBKIT_WEB_VIEW(webkit_web_view_new());
         g_signal_connect(G_OBJECT(c->view), "title-changed", G_CALLBACK(titlechange), c);
         g_signal_connect(G_OBJECT(c->view), "load-progress-changed", G_CALLBACK(progresschange), c);
@@ -491,7 +491,7 @@
         g_signal_connect(G_OBJECT(c->view), "window-object-cleared", G_CALLBACK(windowobjectcleared), c);
         g_signal_connect(G_OBJECT(c->view), "populate-popup", G_CALLBACK(context), c);
 
- /* indicator */
+ /* Indicator */
         c->indicator = gtk_drawing_area_new();
         gtk_widget_set_size_request(c->indicator, 0, 2);
         g_signal_connect (G_OBJECT (c->indicator), "expose_event",
@@ -844,9 +844,8 @@
                 arg.v = argv[i];
         setup();
         newclient();
- if(arg.v) {
+ if(arg.v)
                 loaduri(clients, &arg);
- }
         gtk_main();
         cleanup();
         return EXIT_SUCCESS;
Received on Wed Oct 28 2009 - 18:27:18 UTC

This archive was generated by hypermail 2.2.0 : Wed Oct 28 2009 - 18:36:05 UTC