mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Include file cleanup. Remove the messages.[ch] files in favor of the
glib supplied gi18n.h file. Replace includes of gnome.h with gtk.h (or better yet glib.h) wherever possible. Don't include gnome.h from any header files. Remove some extraneous includes. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11981 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
2005-11-19 David Hampton <hampton@employees.org>
|
||||
|
||||
* numerous: Include file cleanup. Remove the messages.[ch] files
|
||||
in favor of the glib supplied gi18n.h file. Replace includes of
|
||||
gnome.h with gtk.h (or better yet glib.h) wherever possible.
|
||||
Don't include gnome.h from any header files. Remove some
|
||||
extraneous includes.
|
||||
|
||||
* src/gnome-utils/gnc-date-format.[ch]: Remove unused function.
|
||||
|
||||
2005-11-18 David Hampton <hampton@employees.org>
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <libguile.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
@@ -28,11 +30,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <libguile.h>
|
||||
|
||||
#include "file-utils.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "gnc-gkeyfile-utils.h"
|
||||
|
||||
|
||||
@@ -20,18 +20,17 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <guile/gh.h>
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <guile/gh.h>
|
||||
|
||||
#include "finproto.h"
|
||||
#include "fin_spl_protos.h"
|
||||
#include "gnc-gkeyfile-utils.h"
|
||||
#include "gnc-exp-parser.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "guile-mappings.h"
|
||||
|
||||
|
||||
@@ -19,11 +19,13 @@
|
||||
*
|
||||
\********************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <messages.h>
|
||||
|
||||
#include "i18n.h"
|
||||
|
||||
#include "gnc-gettext-util.h"
|
||||
|
||||
/* ============================================================== */
|
||||
|
||||
@@ -22,9 +22,10 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <glib.h>
|
||||
#include <limits.h>
|
||||
#include <locale.h>
|
||||
#include <math.h>
|
||||
@@ -33,8 +34,6 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "Transaction.h"
|
||||
|
||||
#include "Account.h"
|
||||
#include "gnc-book.h"
|
||||
#include "gnc-component-manager.h"
|
||||
@@ -45,7 +44,6 @@
|
||||
#include "gnc-module.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "Group.h"
|
||||
#include "messages.h"
|
||||
#include "Transaction.h"
|
||||
#include "guile-mappings.h"
|
||||
|
||||
|
||||
@@ -20,17 +20,17 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <g-wrap-wct.h>
|
||||
#include <libguile.h>
|
||||
|
||||
#include "qof.h"
|
||||
#include "engine-helpers.h"
|
||||
#include "glib-helpers.h"
|
||||
#include "gnc-gconf-utils.h"
|
||||
#include "guile-util.h"
|
||||
#include "messages.h"
|
||||
|
||||
#include <g-wrap-wct.h>
|
||||
#include <libguile.h>
|
||||
#include "guile-mappings.h"
|
||||
|
||||
/* This static indicates the debugging module this .o belongs to. */
|
||||
|
||||
@@ -22,8 +22,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "option-util.h"
|
||||
@@ -33,7 +34,6 @@
|
||||
#include "qof.h"
|
||||
#include "gnc-err-popup.h"
|
||||
#include "guile-mappings.h"
|
||||
#include "messages.h"
|
||||
|
||||
#include <g-wrap-wct.h>
|
||||
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
@@ -49,7 +51,6 @@
|
||||
#include "io-gncxml.h"
|
||||
#include "io-gncbin.h"
|
||||
#include "io-gncxml-v2.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-backend-api.h"
|
||||
#include "gnc-backend-file.h"
|
||||
|
||||
|
||||
@@ -86,10 +86,11 @@
|
||||
* nanoseconds ::== signed 32 bit int *
|
||||
\********************************************************************/
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
@@ -98,7 +99,6 @@
|
||||
#include "io-gncbin.h"
|
||||
#include "Group.h"
|
||||
#include "GroupP.h"
|
||||
#include "messages.h"
|
||||
#include "Transaction.h"
|
||||
#include "TransactionP.h"
|
||||
#include "TransLog.h"
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <ctype.h>
|
||||
#include <netdb.h>
|
||||
#include <pwd.h>
|
||||
#include <stdio.h>
|
||||
@@ -55,7 +56,6 @@
|
||||
#include "events.h"
|
||||
#include "gncquery.h"
|
||||
#include "kvp-sql.h"
|
||||
#include "messages.h"
|
||||
#include "PostgresBackend.h"
|
||||
#include "price.h"
|
||||
#include "txn.h"
|
||||
|
||||
@@ -32,12 +32,13 @@
|
||||
*/
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <libpq-fe.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "qofbackend.h"
|
||||
#include "qofbackend-p.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-engine-util.h"
|
||||
#include "PostgresBackend.h"
|
||||
|
||||
|
||||
@@ -25,12 +25,12 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <libpq-fe.h>
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "PostgresBackend.h"
|
||||
#include "messages.h"
|
||||
#include "qofbackend.h"
|
||||
#include "upgrade.h"
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "gncBillTermP.h"
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "gnc-commodity.h"
|
||||
|
||||
#include "gncAddressP.h"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "Account.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-commodity.h"
|
||||
#include "gncAddressP.h"
|
||||
#include "gncEmployee.h"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "gnc-commodity.h"
|
||||
|
||||
#include "gncEntry.h"
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "Transaction.h"
|
||||
#include "Account.h"
|
||||
#include "messages.h"
|
||||
#include "gncBillTermP.h"
|
||||
#include "gncEntry.h"
|
||||
#include "gncEntryP.h"
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "gncInvoice.h"
|
||||
#include "gncJob.h"
|
||||
#include "gncJobP.h"
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "gncEntry.h"
|
||||
#include "gncEntryP.h"
|
||||
#include "gncOrder.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "gncTaxTableP.h"
|
||||
|
||||
struct _gncTaxTable
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "gnc-commodity.h"
|
||||
#include "gncAddressP.h"
|
||||
#include "gncBillTermP.h"
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
|
||||
#include "qof.h"
|
||||
#include "gnc-module.h"
|
||||
#include "messages.h"
|
||||
|
||||
#include "gncBusiness.h"
|
||||
#include "test-stuff.h"
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "Group.h"
|
||||
#include "Account.h"
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <g-wrap-wct.h>
|
||||
#include <libguile.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gnc-html.h"
|
||||
#include "gnc-ui-util.h"
|
||||
|
||||
@@ -27,9 +27,10 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdio.h>
|
||||
#include <libguile.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "gnc-hooks.h"
|
||||
#include "gnc-module.h"
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-component-manager.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-amount-edit.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-amount-edit.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-component-manager.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-component-manager.h"
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-component-manager.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-currency-edit.h"
|
||||
|
||||
@@ -25,8 +25,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <libguile.h>
|
||||
|
||||
#include "dialog-billterms.h"
|
||||
@@ -40,7 +41,6 @@
|
||||
#include "gnc-plugin-business.h"
|
||||
#include "gnc-plugin-page-invoice.h"
|
||||
#include "gncOwner.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "gnc-date.h"
|
||||
#include "gnc-file.h"
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "QueryCore.h"
|
||||
#include "gnc-ui-util.h"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "Account.h"
|
||||
#include "dialog-account.h"
|
||||
@@ -34,7 +35,6 @@
|
||||
#include "pricecell.h"
|
||||
#include "recncell.h"
|
||||
#include "checkboxcell.h"
|
||||
#include "messages.h"
|
||||
|
||||
#include "gnc-component-manager.h"
|
||||
#include "gnc-ui.h"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "Account.h"
|
||||
#include "combocell.h"
|
||||
@@ -34,7 +35,6 @@
|
||||
#include "gnc-ui.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "gnc-gui-query.h"
|
||||
#include "messages.h"
|
||||
#include "table-allgui.h"
|
||||
#include "pricecell.h"
|
||||
#include "dialog-tax-table.h"
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gncEntryLedgerP.h"
|
||||
#include "gncEntryLedgerLayout.h"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <libguile.h>
|
||||
|
||||
#include "Account.h"
|
||||
@@ -34,7 +35,6 @@
|
||||
#include "gnc-component-manager.h"
|
||||
#include "gnc-gconf-utils.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "messages.h"
|
||||
#include "recncell.h"
|
||||
|
||||
#include "business-options.h"
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "messages.h"
|
||||
#include "Account.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "gnc-engine-util.h" /* for safe_strcmp */
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-component-manager.h"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -35,7 +36,6 @@
|
||||
#include "gnc-lot.h"
|
||||
#include "gnc-lot-p.h"
|
||||
#include "gnc-pricedb.h"
|
||||
#include "messages.h"
|
||||
#include "policy.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_ACCOUNT;
|
||||
|
||||
@@ -74,17 +74,17 @@
|
||||
\********************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
#include <time.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef HAVE_LANGINFO_D_FMT
|
||||
#include <langinfo.h>
|
||||
#endif
|
||||
|
||||
#include "FreqSpecP.h"
|
||||
#include "messages.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_SX;
|
||||
/*
|
||||
|
||||
@@ -39,7 +39,6 @@ libgncmod_engine_la_SOURCES = \
|
||||
gnc-pricedb.c \
|
||||
gnc-session-scm.c \
|
||||
gncmod-engine.c \
|
||||
messages.c \
|
||||
policy.c
|
||||
|
||||
EXTRA_libgncmod_engine_la_SOURCES = iso-4217-currencies.c
|
||||
@@ -80,7 +79,6 @@ gncinclude_HEADERS = \
|
||||
gnc-session-scm.h \
|
||||
gncObject.h \
|
||||
kvp-scm.h \
|
||||
messages.h \
|
||||
policy.h
|
||||
|
||||
noinst_HEADERS = \
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "FreqSpec.h"
|
||||
@@ -34,7 +35,6 @@
|
||||
#include "SchedXactionP.h"
|
||||
#include "Transaction.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "messages.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_SX;
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -49,7 +50,6 @@
|
||||
#include "ScrubP.h"
|
||||
#include "Transaction.h"
|
||||
#include "TransactionP.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-commodity.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_SCRUB;
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
#include "gnc-engine.h"
|
||||
#include "gnc-lot.h"
|
||||
#include "gnc-lot-p.h"
|
||||
#include "messages.h"
|
||||
#include "policy-p.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_LOT;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
@@ -42,7 +44,6 @@
|
||||
#include "gnc-engine.h"
|
||||
#include "gnc-lot-p.h"
|
||||
#include "gnc-lot.h"
|
||||
#include "messages.h"
|
||||
|
||||
/*
|
||||
* Design notes on event-generation: transaction-modified-events
|
||||
|
||||
@@ -56,6 +56,7 @@ ToDo:
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "Account.h"
|
||||
#include "AccountP.h"
|
||||
@@ -69,7 +70,6 @@ ToDo:
|
||||
#include "gnc-engine.h"
|
||||
#include "gnc-lot.h"
|
||||
#include "gnc-lot-p.h"
|
||||
#include "messages.h"
|
||||
#include "policy.h"
|
||||
#include "policy-p.h"
|
||||
|
||||
|
||||
@@ -26,16 +26,16 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
#include <regex.h>
|
||||
|
||||
#include "gnc-commodity.h"
|
||||
#include "messages.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_COMMODITY;
|
||||
|
||||
|
||||
@@ -1,101 +0,0 @@
|
||||
/********************************************************************\
|
||||
* messages.c -- national-language messages for GnuCash *
|
||||
* Copyright (C) 2001 Christian Stimming *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program 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 General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, write to the Free Software *
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
|
||||
\********************************************************************/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "messages.h"
|
||||
|
||||
/* Prefix marker and end-of-prefix marker for i18n messages with
|
||||
qualifying prefix, see
|
||||
e.g. http://mail.gnome.org/archives/gnome-i18n/2001-April/msg00058.html.
|
||||
|
||||
Adapted from a patch posted to gnome-devel-list on Dec 6, 2000, by
|
||||
Zbigniew Chyla <cyba@piast.t19.ds.pwr.wroc.pl>
|
||||
*/
|
||||
#define Q_PREFIX_START '|'
|
||||
#define Q_PREFIX_END '|'
|
||||
|
||||
/***
|
||||
* gnc_qualifier_prefix_gettext
|
||||
**/
|
||||
const gchar *
|
||||
gnc_qualifier_prefix_gettext (const gchar *string)
|
||||
{
|
||||
g_return_val_if_fail (string, NULL);
|
||||
|
||||
if (*string != Q_PREFIX_START) {
|
||||
return gettext (string);
|
||||
} else {
|
||||
const gchar *translation;
|
||||
|
||||
translation = gettext (string);
|
||||
if (translation != string) {
|
||||
if (*translation != Q_PREFIX_START) {
|
||||
return translation;
|
||||
} else {
|
||||
const gchar *real_translation;
|
||||
|
||||
real_translation = strchr (translation + 1, Q_PREFIX_END);
|
||||
if (real_translation != NULL) {
|
||||
return real_translation + 1;
|
||||
} else {
|
||||
g_warning ("Ivalid Q_() translation: \"%s\"", translation);
|
||||
return translation;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
gchar *real_string;
|
||||
|
||||
real_string = strchr (string + 1, Q_PREFIX_END);
|
||||
if (real_string != NULL) {
|
||||
return gettext (real_string + 1);
|
||||
} else {
|
||||
g_warning ("Invalid Q_() string: \"%s\"", string);
|
||||
return (gchar *) string;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/***
|
||||
* gnc_qualifier_prefix_noop
|
||||
**/
|
||||
gchar *
|
||||
gnc_qualifier_prefix_noop (const gchar *string)
|
||||
{
|
||||
g_return_val_if_fail (string, NULL);
|
||||
|
||||
if (*string != Q_PREFIX_START) {
|
||||
return (gchar *) string;
|
||||
} else {
|
||||
gchar *real_string;
|
||||
|
||||
real_string = strchr (string + 1, Q_PREFIX_END);
|
||||
if (real_string != NULL) {
|
||||
return real_string + 1;
|
||||
} else {
|
||||
g_warning ("Invalid Q_() string: \"%s\"", string);
|
||||
return (gchar *) string;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
/********************************************************************\
|
||||
* messages.h -- national-language messages for GnuCash *
|
||||
* Copyright (C) 1997 Robin D. Clark *
|
||||
* Copyright (C) 1997, 1998 Linas Vepstas *
|
||||
* Copyright (C) 2000 Dave Peticolas *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation; either version 2 of *
|
||||
* the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program 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 General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License*
|
||||
* along with this program; if not, write to the Free Software *
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
|
||||
\********************************************************************/
|
||||
|
||||
/** @file messages.h @brief National-language messages for GnuCash */
|
||||
|
||||
#ifndef XACC_MESSAGES_H
|
||||
#define XACC_MESSAGES_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
const char *gnc_qualifier_prefix_gettext (const char *s);
|
||||
char *gnc_qualifier_prefix_noop (const char *s);
|
||||
|
||||
#if defined(HAVE_GETTEXT) /* HAVE_GETTEXT */
|
||||
|
||||
#include <libintl.h>
|
||||
#include <locale.h>
|
||||
|
||||
#undef _
|
||||
#undef Q_
|
||||
|
||||
#ifdef DISABLE_GETTEXT_UNDERSCORE
|
||||
#define _(String) (String)
|
||||
#define Q_(String) gnc_qualifier_prefix_noop(String)
|
||||
#else /* ENABLE_GETTEXT_UNDERSCORE */
|
||||
#define _(String) gettext(String)
|
||||
#define Q_(String) gnc_qualifier_prefix_gettext(String)
|
||||
#endif /* End ENABLE_GETTEXT_UNDERSCORE */
|
||||
|
||||
#else /* Not HAVE_GETTEXT */
|
||||
#if !defined(__USE_GNU_GETTEXT)
|
||||
|
||||
#undef _
|
||||
#undef Q_
|
||||
|
||||
#define _(String) (String)
|
||||
#define Q_(String) gnc_qualifier_prefix_noop(String)
|
||||
#define gettext(String) (String)
|
||||
#define ngettext(msgid, msgid_plural, n) (((n)==1) ? \
|
||||
(msgid) : (msgid_plural))
|
||||
|
||||
#endif /* End not__USE_GNU_GETTEXT */
|
||||
#endif /* End Not HAVE_GETTEXT */
|
||||
|
||||
#undef N_
|
||||
#define N_(String) (String)
|
||||
|
||||
#endif /* XACC_MESSAGES_H */
|
||||
@@ -24,9 +24,9 @@
|
||||
* Lightly test the QofObject infrastructure.
|
||||
*/
|
||||
#include <glib.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include "qof.h"
|
||||
#include "cashobjects.h"
|
||||
#include "messages.h"
|
||||
#include "test-stuff.h"
|
||||
|
||||
#define TEST_MODULE_NAME "object-test"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "qof.h"
|
||||
#include "guid.h"
|
||||
#include "gnc-engine-util.h"
|
||||
#include "messages.h"
|
||||
#include "cashobjects.h"
|
||||
#include "test-stuff.h"
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-component-manager.h"
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
#include <libguile.h>
|
||||
|
||||
#include "gnc-module.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "Account.h"
|
||||
#include "QueryCore.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "QueryCore.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#ifndef _GNCSEARCH_CORE_TYPE_H
|
||||
#define _GNCSEARCH_CORE_TYPE_H
|
||||
|
||||
#include <gnome.h>
|
||||
#include "QueryCore.h"
|
||||
#include "QueryNew.h"
|
||||
#include "search-param.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gnc-date.h"
|
||||
#include "gnc-date-edit.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gnc-amount-edit.h"
|
||||
#include "QueryCore.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gnc-amount-edit.h"
|
||||
#include "QueryCore.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gnc-amount-edit.h"
|
||||
#include "QueryCore.h"
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "QueryCore.h"
|
||||
#include "Transaction.h" /* for ?REC */
|
||||
|
||||
@@ -22,10 +22,11 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <regex.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "search-string.h"
|
||||
#include "QueryCore.h"
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "QuickFill.h"
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "gnc-engine.h"
|
||||
#include "gnc-ui-util.h"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gnc-ui.h"
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -43,7 +44,6 @@
|
||||
#include "gnc-tree-view-account.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "messages.h"
|
||||
|
||||
|
||||
#define DIALOG_NEW_ACCOUNT_CM_CLASS "dialog-new-account"
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "dialog-commodity.h"
|
||||
@@ -42,7 +43,6 @@
|
||||
#include "gnc-gui-query.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "messages.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_GUI;
|
||||
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
#ifndef GNC_DIALOG_COMMODITY_H
|
||||
#define GNC_DIALOG_COMMODITY_H
|
||||
|
||||
#include <gnome.h>
|
||||
|
||||
#include "gnc-commodity.h"
|
||||
|
||||
/** The dialog commodity types are used to determine what commodity
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include "gnc-gui-query.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "guile-util.h"
|
||||
#include "messages.h"
|
||||
#include "option-util.h"
|
||||
#include "gdk/gdkfont.h"
|
||||
#include "guile-mappings.h"
|
||||
|
||||
@@ -23,11 +23,6 @@
|
||||
#ifndef OPTIONS_DIALOG_H
|
||||
#define OPTIONS_DIALOG_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gnome.h>
|
||||
#include <libguile.h>
|
||||
|
||||
#include "option-util.h"
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-transfer.h"
|
||||
#include "dialog-utils.h"
|
||||
@@ -40,7 +42,6 @@
|
||||
#include "gnc-pricedb.h"
|
||||
#include "gnc-tree-view-account.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "messages.h"
|
||||
#include "Transaction.h"
|
||||
#include "Account.h"
|
||||
|
||||
|
||||
@@ -27,14 +27,12 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glade/glade.h>
|
||||
#include <gnome.h>
|
||||
#include <gmodule.h>
|
||||
#include <glade/glade.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-commodity.h"
|
||||
#include "messages.h"
|
||||
#include "Group.h"
|
||||
#include "gnc-dir.h"
|
||||
#include "gnc-engine.h"
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
#define DIALOG_UTILS_H
|
||||
|
||||
#include <glade/glade.h>
|
||||
#include <gnome.h>
|
||||
#include "Account.h"
|
||||
|
||||
#include "qof.h"
|
||||
|
||||
/* option button callback function */
|
||||
typedef void (*GNCOptionCallback) (GtkWidget *, gint index,
|
||||
@@ -88,7 +86,9 @@ void gnc_save_window_size (const char *section, GtkWindow *window);
|
||||
* data - the value to fill with *
|
||||
* Returns: nothing *
|
||||
\********************************************************************/
|
||||
#ifdef LIBGNOME_H
|
||||
void gnc_fill_menu_with_data (GnomeUIInfo *info, gpointer data);
|
||||
#endif
|
||||
|
||||
void gnc_option_menu_init (GtkWidget * option_menu);
|
||||
void gnc_option_menu_init_w_signal(GtkWidget * w,
|
||||
|
||||
@@ -32,9 +32,10 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <gnome.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
@@ -46,7 +47,6 @@
|
||||
#include "gnc-gui-query.h"
|
||||
#include "gnc-gnome-utils.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "messages.h"
|
||||
|
||||
#define WHO_DOES "who_does"
|
||||
#define WHO_GNUCASH 1
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
|
||||
#include "dialog-utils.h"
|
||||
#include "druid-utils.h"
|
||||
#include "gnc-engine-util.h"
|
||||
|
||||
@@ -24,11 +24,13 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "dialog-account.h"
|
||||
#include "GNCId.h"
|
||||
#include "gnc-account-sel.h"
|
||||
#include "gnc-exp-parser.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "gnc-engine-util.h"
|
||||
#include "gnc-event.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#ifndef GNC_ACCOUNT_SEL_H
|
||||
#define GNC_ACCOUNT_SEL_H
|
||||
|
||||
#include <gnome.h>
|
||||
#include "Account.h"
|
||||
|
||||
#define GNC_TYPE_ACCOUNT_SEL (gnc_account_sel_get_type())
|
||||
|
||||
@@ -34,9 +34,11 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include "gnc-amount-edit.h"
|
||||
#include "gnc-exp-parser.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "gnc-engine-util.h"
|
||||
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
#ifndef GNC_AMOUNT_EDIT_H
|
||||
#define GNC_AMOUNT_EDIT_H
|
||||
|
||||
#include <gnome.h>
|
||||
|
||||
#include "gnc-numeric.h"
|
||||
#include "gnc-ui-util.h"
|
||||
|
||||
|
||||
@@ -33,7 +33,9 @@
|
||||
* Derek Atkins <warlord@MIT.EDU>
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "dialog-commodity.h"
|
||||
#include "gnc-commodity-edit.h"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#ifndef GNC_COMMODITY_EDIT_H
|
||||
#define GNC_COMMODITY_EDIT_H
|
||||
|
||||
#include <gnome.h>
|
||||
#include "gnc-commodity.h"
|
||||
|
||||
/* Callback function to return the printable string of a commodity */
|
||||
|
||||
@@ -55,7 +55,9 @@
|
||||
* user from typing in random data.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
@@ -63,7 +65,6 @@
|
||||
#include "gnc-currency-edit.h"
|
||||
#include "gnc-commodity.h"
|
||||
#include "gnc-ui-util.h"
|
||||
#include "messages.h"
|
||||
|
||||
static void gnc_currency_edit_init (GNCCurrencyEdit *gce);
|
||||
static void gnc_currency_edit_class_init (GNCCurrencyEditClass *class);
|
||||
|
||||
@@ -55,8 +55,6 @@
|
||||
#ifndef GNC_CURRENCY_EDIT_H
|
||||
#define GNC_CURRENCY_EDIT_H
|
||||
|
||||
#include <gnome.h>
|
||||
|
||||
#include "gnc-commodity.h"
|
||||
|
||||
/** @name Basic Object Implementation */
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h> /* atoi */
|
||||
#include <ctype.h> /* isdigit */
|
||||
@@ -41,7 +43,6 @@
|
||||
|
||||
#include "gnc-date.h"
|
||||
#include "gnc-date-delta.h"
|
||||
#include "messages.h"
|
||||
|
||||
|
||||
enum
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
#ifndef GNC_DATE_DELTA_H
|
||||
#define GNC_DATE_DELTA_H
|
||||
|
||||
#include <gnome.h>
|
||||
|
||||
typedef enum {
|
||||
GNC_DATE_DELTA_DAYS,
|
||||
GNC_DATE_DELTA_WEEKS,
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h> /* atoi */
|
||||
#include <ctype.h> /* isdigit */
|
||||
@@ -44,7 +45,6 @@
|
||||
#include "gnc-date.h"
|
||||
#include "dialog-utils.h"
|
||||
#include "gnc-date-edit.h"
|
||||
#include "messages.h"
|
||||
|
||||
|
||||
enum {
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
#ifndef GNC_DATE_FORMAT_H
|
||||
#define GNC_DATE_FORMAT_H
|
||||
|
||||
#include <gnome.h>
|
||||
#include <glib.h>
|
||||
#include "gnc-date.h"
|
||||
|
||||
#define GNC_TYPE_DATE_FORMAT (gnc_date_format_get_type ())
|
||||
|
||||
@@ -22,12 +22,10 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gnome.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "gnc-dense-cal.h"
|
||||
|
||||
/* For PERR, only... */
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "gnc-dialog.h"
|
||||
#include "gnc-gobject-utils.h"
|
||||
#include "dialog-utils.h" // for gnc_glade_xml_new
|
||||
#include "gnc-engine.h"
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_GUI;
|
||||
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gnome.h>
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "gnc-druid-gnome-ui.h"
|
||||
#include "gnc-druid-provider-file-gnome.h"
|
||||
#include "gnc-druid-provider-desc-file.h"
|
||||
|
||||
#include "gnc-basic-gobject.h"
|
||||
|
||||
#include "messages.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "gnc-gui-query.h"
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
#include "gnc-basic-gobject.h"
|
||||
#include "dialog-utils.h"
|
||||
#include "messages.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "gnc-gui-query.h"
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
#include "gnc-plugin-manager.h"
|
||||
#include "gnc-ui.h"
|
||||
#include "gnc-window.h"
|
||||
#include "messages.h"
|
||||
|
||||
/* Static Globals *******************************************************/
|
||||
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <glib.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <errno.h>
|
||||
#include <libguile.h>
|
||||
#include <string.h>
|
||||
#include <g-wrap-wct.h>
|
||||
@@ -43,7 +43,6 @@
|
||||
#include "gnc-gconf-utils.h"
|
||||
#include "gnc-plugin-file-history.h"
|
||||
#include "qof.h"
|
||||
#include "messages.h"
|
||||
#include "TransLog.h"
|
||||
|
||||
#define GCONF_SECTION "dialogs/export_accounts"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -25,10 +25,8 @@
|
||||
#ifndef GNC_FREQUENCY_H
|
||||
#define GNC_FREQUENCY_H
|
||||
|
||||
#include <gnome.h>
|
||||
#include "gnc-date-edit.h"
|
||||
#include "FreqSpec.h"
|
||||
#include "dialog-utils.h"
|
||||
|
||||
#define GNC_TYPE_FREQUENCY (gnc_frequency_get_type())
|
||||
#define GNC_FREQUENCY(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GNC_TYPE_FREQUENCY, GNCFrequency)
|
||||
|
||||
@@ -28,7 +28,10 @@
|
||||
@NOTATION@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include "config.h"
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib/gi18n.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -31,9 +31,6 @@
|
||||
#ifndef GNC_GENERAL_SELECT_H
|
||||
#define GNC_GENERAL_SELECT_H
|
||||
|
||||
#include <gnome.h>
|
||||
#include <glib.h>
|
||||
|
||||
#define GNC_TYPE_GENERAL_SELECT (gnc_general_select_get_type ())
|
||||
#define GNC_GENERAL_SELECT(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gnc_general_select_get_type(), GNCGeneralSelect)
|
||||
#define GNC_GENERAL_SELECT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gnc_general_select_get_type(), \ GNCGeneralSelectClass)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user