r14611 - gnucash/trunk/src - Various whitespace, line-wrap, and comment changes.

Chris Shoemaker chris at cvs.gnucash.org
Tue Aug 8 17:57:30 EDT 2006


Author: chris
Date: 2006-08-08 17:57:28 -0400 (Tue, 08 Aug 2006)
New Revision: 14611
Trac: http://svn.gnucash.org/trac/changeset/14611

Modified:
   gnucash/trunk/src/backend/file/test/test-xml-account.c
   gnucash/trunk/src/engine/Transaction.h
   gnucash/trunk/src/gnome-utils/gnc-file.c
   gnucash/trunk/src/gnome-utils/gnc-tree-model-account.h
Log:
   Various whitespace, line-wrap, and comment changes.


Modified: gnucash/trunk/src/backend/file/test/test-xml-account.c
===================================================================
--- gnucash/trunk/src/backend/file/test/test-xml-account.c	2006-08-08 12:53:03 UTC (rev 14610)
+++ gnucash/trunk/src/backend/file/test/test-xml-account.c	2006-08-08 21:57:28 UTC (rev 14611)
@@ -370,5 +370,5 @@
     qof_session_destroy(session);        
     print_test_results();
     qof_close();
-  return 0;
+    return 0;
 }

Modified: gnucash/trunk/src/engine/Transaction.h
===================================================================
--- gnucash/trunk/src/engine/Transaction.h	2006-08-08 12:53:03 UTC (rev 14610)
+++ gnucash/trunk/src/engine/Transaction.h	2006-08-08 21:57:28 UTC (rev 14611)
@@ -92,6 +92,7 @@
 #include "gnc-engine.h"
 #include "Split.h"
 
+/* FIXME: These macros are not consistent with the type name */
 #define GNC_IS_TRANS(obj)  (QOF_CHECK_TYPE((obj), GNC_ID_TRANS))
 #define GNC_TRANS(obj)     (QOF_CHECK_CAST((obj), GNC_ID_TRANS, Transaction))
 

Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c	2006-08-08 12:53:03 UTC (rev 14610)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c	2006-08-08 21:57:28 UTC (rev 14611)
@@ -205,12 +205,12 @@
     case ERR_BACKEND_NO_ERR:
       uh_oh = FALSE;
       break;
-	
-	case ERR_BACKEND_NO_HANDLER: {
-		fmt = _("No suitable backend was found for %s.");
-		gnc_error_dialog(parent, fmt, newfile);
-		break;
-	}
+
+    case ERR_BACKEND_NO_HANDLER:
+      fmt = _("No suitable backend was found for %s.");
+      gnc_error_dialog(parent, fmt, newfile);
+      break;
+
     case ERR_BACKEND_NO_BACKEND:
       fmt = _("The URL %s is not supported by this version of GnuCash.");
       gnc_error_dialog (parent, fmt, newfile);

Modified: gnucash/trunk/src/gnome-utils/gnc-tree-model-account.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-model-account.h	2006-08-08 12:53:03 UTC (rev 14610)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-model-account.h	2006-08-08 21:57:28 UTC (rev 14611)
@@ -122,7 +122,8 @@
 
 /** Create a new GtkTreeModel for manipulating gnucash accounts.
  *
- *  @param group The account group to put at the top level of the tree hierarchy. */
+ *  @param group The account group to put at the top level of the tree
+ *  hierarchy. */
 GtkTreeModel *gnc_tree_model_account_new (AccountGroup *group);
 /** @} */
 



More information about the gnucash-changes mailing list