Cleanup unused qof-style "log_module" variables.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15686 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-03-07 23:46:16 +00:00
parent 489375e6d6
commit e6de3eb66d
9 changed files with 10 additions and 26 deletions

View File

@ -41,10 +41,8 @@
#include "gnc-ui-util.h" #include "gnc-ui-util.h"
#include "qof.h" #include "qof.h"
#define LOG_MOD "gnc.app-util.sx"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN #undef G_LOG_DOMAIN
#define G_LOG_DOMAIN LOG_MOD #define G_LOG_DOMAIN "gnc.app-util.sx"
static GObjectClass *parent_class = NULL; static GObjectClass *parent_class = NULL;

View File

@ -46,10 +46,8 @@
#include "gnc-gconf-utils.h" #include "gnc-gconf-utils.h"
#define LOG_MOD "gnc.backend.file.sx"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN #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: * The XML output should look something like:

View File

@ -46,7 +46,8 @@
#include "SX-book-p.h" #include "SX-book-p.h"
#include "gnc-event.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 /* XXX this whole file is crufty, it doesn't really use entities
* in the most efficient/best way */ * in the most efficient/best way */

View File

@ -38,10 +38,8 @@
#include "Transaction.h" #include "Transaction.h"
#include "gnc-engine.h" #include "gnc-engine.h"
#define LOG_MOD "gnc.engine.sx"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN #undef G_LOG_DOMAIN
#define G_LOG_DOMAIN LOG_MOD #define G_LOG_DOMAIN "gnc.engine.sx"
/* Local Prototypes *****/ /* Local Prototypes *****/

View File

@ -38,10 +38,8 @@
#include "gnc-frequency.h" #include "gnc-frequency.h"
#include "gnc-ui-util.h" #include "gnc-ui-util.h"
#define LOG_MOD "gnc.gui.frequency"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN #undef G_LOG_DOMAIN
#define G_LOG_DOMAIN LOG_MOD #define G_LOG_DOMAIN "gnc.gui.frequency"
/** Private Defs ********************/ /** Private Defs ********************/

View File

@ -59,10 +59,8 @@
* - general graph cleanup * - general graph cleanup
**/ **/
#define LOG_MOD "gnc.gui.html.graph.gog"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN #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_piechart(gnc_html * html, GtkHTMLEmbedded * eb, gpointer d);
static int handle_barchart(gnc_html * html, GtkHTMLEmbedded * eb, gpointer d); static int handle_barchart(gnc_html * html, GtkHTMLEmbedded * eb, gpointer d);

View File

@ -64,10 +64,8 @@
#include <langinfo.h> #include <langinfo.h>
#endif #endif
#define LOG_MOD "gnc.gui.sx.editor"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN #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; static gint _sx_engine_event_handler_id = -1;

View File

@ -57,11 +57,8 @@
#include "gnc-book.h" #include "gnc-book.h"
#include "dialog-sx-editor.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 #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 PLUGIN_PAGE_SX_LIST_CM_CLASS "plugin-page-sx-list"
#define GCONF_SECTION "window/pages/sx_list" #define GCONF_SECTION "window/pages/sx_list"

View File

@ -31,10 +31,8 @@
#include "basiccell.h" #include "basiccell.h"
#include "formulacell.h" #include "formulacell.h"
#define LOG_MOD "gnc.register.core.formulacell"
static QofLogModule log_module = LOG_MOD;
#undef G_LOG_DOMAIN #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 ); static void gnc_formula_cell_init( FormulaCell *fc );