[gtkhtml] Coding style and whitespace cleanup.



commit 4ddec85a21126ecbbabec5011b7b2a2a051013a8
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 29 10:08:56 2011 -0500

    Coding style and whitespace cleanup.

 components/editor/gtkhtml-color-swatch.c |   14 ++++---
 gtkhtml/htmlsearch.c                     |   56 +++++++++++++++---------------
 2 files changed, 36 insertions(+), 34 deletions(-)
---
diff --git a/components/editor/gtkhtml-color-swatch.c b/components/editor/gtkhtml-color-swatch.c
index c0a41fa..8115c83 100644
--- a/components/editor/gtkhtml-color-swatch.c
+++ b/components/editor/gtkhtml-color-swatch.c
@@ -129,26 +129,28 @@ color_swatch_dispose (GObject *object)
 
 static void
 color_swatch_get_preferred_width (GtkWidget *widget,
-                           	  gint *minimum_width,
-				  gint *natural_width)
+                                  gint *minimum_width,
+                                  gint *natural_width)
 {
 	GtkhtmlColorSwatchPrivate *priv;
 
 	priv = GTKHTML_COLOR_SWATCH_GET_PRIVATE (widget);
 
-	gtk_widget_get_preferred_width (priv->frame, minimum_width, natural_width);
+	gtk_widget_get_preferred_width (
+		priv->frame, minimum_width, natural_width);
 }
 
 static void
 color_swatch_get_preferred_height (GtkWidget *widget,
-                           	  gint *minimum_height,
-				  gint *natural_height)
+                                   gint *minimum_height,
+                                   gint *natural_height)
 {
 	GtkhtmlColorSwatchPrivate *priv;
 
 	priv = GTKHTML_COLOR_SWATCH_GET_PRIVATE (widget);
 
-	gtk_widget_get_preferred_height (priv->frame, minimum_height, natural_height);
+	gtk_widget_get_preferred_height (
+		priv->frame, minimum_height, natural_height);
 }
 
 static void
diff --git a/gtkhtml/htmlsearch.c b/gtkhtml/htmlsearch.c
index 04632a3..eeab7cb 100644
--- a/gtkhtml/htmlsearch.c
+++ b/gtkhtml/htmlsearch.c
@@ -1,33 +1,33 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*  This file is part of the GtkHTML library.
-
-    Copyright (C) 2000 Helix Code, Inc.
-    Authors:           Radek Doulik (rodo helixcode com)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-
-    TODO:
-
-    - now we go thru the html tree without take care about vertical
-      position of paragraph. so it is possible to find first match
-      on bottom of page (ie. first column of table) and the second
-      one on top (ie. top of second comlumn)
-      [also Netscape didn't take care of it]
-
-*/
+ *
+ *  Copyright (C) 2000 Helix Code, Inc.
+ *  Authors:           Radek Doulik (rodo helixcode com)
+ *
+ *  This library is free software; you can redistribute it and/or
+ *  modify it under the terms of the GNU Library General Public
+ *  License as published by the Free Software Foundation; either
+ *  version 2 of the License, or (at your option) any later version.
+ *
+ *  This library is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *  Library General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Library General Public License
+ *  along with this library; see the file COPYING.LIB.  If not, write to
+ *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ *  Boston, MA 02110-1301, USA.
+ *
+ *  TODO:
+ *
+ *  - now we go thru the html tree without take care about vertical
+ *    position of paragraph. so it is possible to find first match
+ *    on bottom of page (ie. first column of table) and the second
+ *    one on top (ie. top of second comlumn)
+ *    [also Netscape didn't take care of it]
+ *
+ */
 
 #include <config.h>
 #include <string.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]