r15686 - gnucash/trunk/src - Cleanup unused qof-style "log_module" variables.
Josh Sled
jsled at cvs.gnucash.org
Wed Mar 7 18:46:18 EST 2007
Author: jsled
Date: 2007-03-07 18:46:16 -0500 (Wed, 07 Mar 2007)
New Revision: 15686
Trac: http://svn.gnucash.org/trac/changeset/15686
Modified:
gnucash/trunk/src/app-utils/gnc-sx-instance-model.c
gnucash/trunk/src/backend/file/gnc-schedxaction-xml-v2.c
gnucash/trunk/src/engine/SX-book.c
gnucash/trunk/src/engine/SchedXaction.c
gnucash/trunk/src/gnome-utils/gnc-frequency.c
gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c
gnucash/trunk/src/gnome/dialog-sx-editor.c
gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
gnucash/trunk/src/register/register-core/formulacell.c
Log:
Cleanup unused qof-style "log_module" variables.
Modified: gnucash/trunk/src/app-utils/gnc-sx-instance-model.c
===================================================================
--- gnucash/trunk/src/app-utils/gnc-sx-instance-model.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/app-utils/gnc-sx-instance-model.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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;
Modified: gnucash/trunk/src/backend/file/gnc-schedxaction-xml-v2.c
===================================================================
--- gnucash/trunk/src/backend/file/gnc-schedxaction-xml-v2.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/backend/file/gnc-schedxaction-xml-v2.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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:
Modified: gnucash/trunk/src/engine/SX-book.c
===================================================================
--- gnucash/trunk/src/engine/SX-book.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/engine/SX-book.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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 */
Modified: gnucash/trunk/src/engine/SchedXaction.c
===================================================================
--- gnucash/trunk/src/engine/SchedXaction.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/engine/SchedXaction.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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 *****/
Modified: gnucash/trunk/src/gnome/dialog-sx-editor.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-editor.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/gnome/dialog-sx-editor.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -64,10 +64,8 @@
#include <langinfo.h>
#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;
Modified: gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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"
Modified: gnucash/trunk/src/gnome-utils/gnc-frequency.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-frequency.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/gnome-utils/gnc-frequency.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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 ********************/
Modified: gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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);
Modified: gnucash/trunk/src/register/register-core/formulacell.c
===================================================================
--- gnucash/trunk/src/register/register-core/formulacell.c 2007-03-07 23:38:46 UTC (rev 15685)
+++ gnucash/trunk/src/register/register-core/formulacell.c 2007-03-07 23:46:16 UTC (rev 15686)
@@ -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 );
More information about the gnucash-changes
mailing list