diff --git a/src/backend/file/test/test-xml-account.c b/src/backend/file/test/test-xml-account.c index 5d68c107777..e4b3e81c038 100644 --- a/src/backend/file/test/test-xml-account.c +++ b/src/backend/file/test/test-xml-account.c @@ -370,5 +370,5 @@ main (int argc, char ** argv) qof_session_destroy(session); print_test_results(); qof_close(); - return 0; + return 0; } diff --git a/src/engine/Transaction.h b/src/engine/Transaction.h index 58e2906e5a4..d815fad5b9e 100644 --- a/src/engine/Transaction.h +++ b/src/engine/Transaction.h @@ -92,6 +92,7 @@ Splits plus the value of all of its sub-Accounts. #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)) diff --git a/src/gnome-utils/gnc-file.c b/src/gnome-utils/gnc-file.c index 0ec1540dcfe..7f08438d9d6 100644 --- a/src/gnome-utils/gnc-file.c +++ b/src/gnome-utils/gnc-file.c @@ -205,12 +205,12 @@ show_session_error (QofBackendError io_error, 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); diff --git a/src/gnome-utils/gnc-tree-model-account.h b/src/gnome-utils/gnc-tree-model-account.h index c5d42a5bb47..3fec08ff3a6 100644 --- a/src/gnome-utils/gnc-tree-model-account.h +++ b/src/gnome-utils/gnc-tree-model-account.h @@ -122,7 +122,8 @@ GType gnc_tree_model_account_get_type (void); /** 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); /** @} */