devhelp r1160 - in trunk: . src



Author: rhult
Date: Mon Oct  6 18:18:11 2008
New Revision: 1160
URL: http://svn.gnome.org/viewvc/devhelp?rev=1160&view=rev

Log:
2008-10-06  Richard Hult  <richard imendio com>

	* src/dh-keyword-model.c: Whitespace and comment fixes.


Modified:
   trunk/ChangeLog
   trunk/src/dh-keyword-model.c

Modified: trunk/src/dh-keyword-model.c
==============================================================================
--- trunk/src/dh-keyword-model.c	(original)
+++ trunk/src/dh-keyword-model.c	Mon Oct  6 18:18:11 2008
@@ -43,8 +43,8 @@
 static void dh_keyword_model_tree_model_init (GtkTreeModelIface   *iface);
 
 G_DEFINE_TYPE_WITH_CODE (DhKeywordModel, dh_keyword_model, G_TYPE_OBJECT,
-			 G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_MODEL,
-						dh_keyword_model_tree_model_init));
+                         G_IMPLEMENT_INTERFACE (GTK_TYPE_TREE_MODEL,
+                                                dh_keyword_model_tree_model_init));
 
 static void
 keyword_model_finalize (GObject *object)
@@ -190,7 +190,7 @@
 }
 
 static gboolean
-keyword_model_iter_next (GtkTreeModel *tree_model, 
+keyword_model_iter_next (GtkTreeModel *tree_model,
                          GtkTreeIter  *iter)
 {
         DhKeywordModel *model = DH_KEYWORD_MODEL (tree_model);
@@ -211,15 +211,14 @@
 
         priv = DH_KEYWORD_MODEL (tree_model)->priv;
 
-        /* this is a list, nodes have no children */
+        /* This is a list, nodes have no children. */
         if (parent) {
                 return FALSE;
         }
 
-        /* but if parent == NULL we return the list itself as children of the
-         * "root"
+        /* But if parent == NULL we return the list itself as children of
+         * the "root".
          */
-
         if (priv->keyword_words) {
                 iter->stamp = priv->stamp;
                 iter->user_data = priv->keyword_words;
@@ -307,7 +306,7 @@
 DhKeywordModel *
 dh_keyword_model_new (void)
 {
-        DhKeywordModel     *model;
+        DhKeywordModel *model;
 
         model = g_object_new (DH_TYPE_KEYWORD_MODEL, NULL);
 
@@ -389,7 +388,7 @@
                                 case_sensitive = TRUE;
                         }
                         g_free (name);
-                        
+
                         /* Accumulate our search string. */
                         if (search == NULL) {
                                 search = g_strdup (stringv[i]);



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