diff --git a/src/app-utils/gnc-sx-instance-model.c b/src/app-utils/gnc-sx-instance-model.c index 583a8d26d6..527420ab73 100644 --- a/src/app-utils/gnc-sx-instance-model.c +++ b/src/app-utils/gnc-sx-instance-model.c @@ -41,10 +41,8 @@ #include "gnc-ui-util.h" #include "qof.h" -#define LOG_MOD "gnc.app-util.sx" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.app-util.sx" static GObjectClass *parent_class = NULL; diff --git a/src/backend/file/gnc-schedxaction-xml-v2.c b/src/backend/file/gnc-schedxaction-xml-v2.c index 003fd5b0cc..8cd03f02be 100644 --- a/src/backend/file/gnc-schedxaction-xml-v2.c +++ b/src/backend/file/gnc-schedxaction-xml-v2.c @@ -46,10 +46,8 @@ #include "gnc-gconf-utils.h" -#define LOG_MOD "gnc.backend.file.sx" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.backend.file.sx" /** * The XML output should look something like: diff --git a/src/engine/SX-book.c b/src/engine/SX-book.c index cadeb8807a..193afff16b 100644 --- a/src/engine/SX-book.c +++ b/src/engine/SX-book.c @@ -46,7 +46,8 @@ #include "SX-book-p.h" #include "gnc-event.h" -static QofLogModule log_module = GNC_MOD_SX; +#undef G_LOG_DOMAIN +#define G_LOG_DOMAIN "gnc.engine.sx" /* XXX this whole file is crufty, it doesn't really use entities * in the most efficient/best way */ diff --git a/src/engine/SchedXaction.c b/src/engine/SchedXaction.c index d8a4cdab6a..5311e2e71d 100644 --- a/src/engine/SchedXaction.c +++ b/src/engine/SchedXaction.c @@ -38,10 +38,8 @@ #include "Transaction.h" #include "gnc-engine.h" -#define LOG_MOD "gnc.engine.sx" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.engine.sx" /* Local Prototypes *****/ diff --git a/src/gnome-utils/gnc-frequency.c b/src/gnome-utils/gnc-frequency.c index dcd74f8141..9d5cd5aa51 100644 --- a/src/gnome-utils/gnc-frequency.c +++ b/src/gnome-utils/gnc-frequency.c @@ -38,10 +38,8 @@ #include "gnc-frequency.h" #include "gnc-ui-util.h" -#define LOG_MOD "gnc.gui.frequency" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.gui.frequency" /** Private Defs ********************/ diff --git a/src/gnome-utils/gnc-html-graph-gog.c b/src/gnome-utils/gnc-html-graph-gog.c index 0f23b40cf4..f7e9e0aa50 100644 --- a/src/gnome-utils/gnc-html-graph-gog.c +++ b/src/gnome-utils/gnc-html-graph-gog.c @@ -59,10 +59,8 @@ * - general graph cleanup **/ -#define LOG_MOD "gnc.gui.html.graph.gog" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.gui.html.graph.gog" static int handle_piechart(gnc_html * html, GtkHTMLEmbedded * eb, gpointer d); static int handle_barchart(gnc_html * html, GtkHTMLEmbedded * eb, gpointer d); diff --git a/src/gnome/dialog-sx-editor.c b/src/gnome/dialog-sx-editor.c index 17e1a685a5..10b7f28928 100644 --- a/src/gnome/dialog-sx-editor.c +++ b/src/gnome/dialog-sx-editor.c @@ -64,10 +64,8 @@ #include #endif -#define LOG_MOD "gnc.gui.sx.editor" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.gui.sx.editor" static gint _sx_engine_event_handler_id = -1; diff --git a/src/gnome/gnc-plugin-page-sx-list.c b/src/gnome/gnc-plugin-page-sx-list.c index 26a1418fcb..41b99b256a 100644 --- a/src/gnome/gnc-plugin-page-sx-list.c +++ b/src/gnome/gnc-plugin-page-sx-list.c @@ -57,11 +57,8 @@ #include "gnc-book.h" #include "dialog-sx-editor.h" -/* This static indicates the debugging module that this .o belongs to. */ -#define LOG_MOD "gnc.gui.plugin-page.sx-list" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.gui.plugin-page.sx-list" #define PLUGIN_PAGE_SX_LIST_CM_CLASS "plugin-page-sx-list" #define GCONF_SECTION "window/pages/sx_list" diff --git a/src/register/register-core/formulacell.c b/src/register/register-core/formulacell.c index 251e9a0595..32fd1bf19c 100644 --- a/src/register/register-core/formulacell.c +++ b/src/register/register-core/formulacell.c @@ -31,10 +31,8 @@ #include "basiccell.h" #include "formulacell.h" -#define LOG_MOD "gnc.register.core.formulacell" -static QofLogModule log_module = LOG_MOD; #undef G_LOG_DOMAIN -#define G_LOG_DOMAIN LOG_MOD +#define G_LOG_DOMAIN "gnc.register.core.formulacell" static void gnc_formula_cell_init( FormulaCell *fc );