From 66107ac7e1002713d9197ceb7225b8aa6ca74144 Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Wed, 7 Mar 2001 14:22:25 +0000 Subject: Set G_LOG_DOMAIN to \"GModule\" instead of g_log_domain_gmodule. 2001-03-07 Sebastian Wilhelmi * Makefile.am, makefile.mingw.in, makefile.msc.in: Set G_LOG_DOMAIN to \"GModule\" instead of g_log_domain_gmodule. * gmodule.def, gmodule.h, gmodule.c: Removed g_log_domain_gmodule. * docs/reference/glib/glib-sections.txt, docs/reference/glib/tmpl/messages.sgml: Removed g_log_domain_gmodule. --- gmodule/ChangeLog | 7 +++++++ gmodule/Makefile.am | 2 +- gmodule/gmodule.c | 1 - gmodule/gmodule.def | 1 - gmodule/gmodule.h | 1 - gmodule/makefile.mingw.in | 2 +- gmodule/makefile.msc.in | 2 +- 7 files changed, 10 insertions(+), 6 deletions(-) (limited to 'gmodule') diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 2e8192087..ad2b3259d 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,10 @@ +2001-03-07 Sebastian Wilhelmi + + * Makefile.am, makefile.mingw.in, makefile.msc.in: Set + G_LOG_DOMAIN to \"GModule\" instead of g_log_domain_gmodule. + + * gmodule.def, gmodule.h, gmodule.c: Removed g_log_domain_gmodule. + 2001-02-17 Havoc Pennington Applied patch from Soeren Sandmann: diff --git a/gmodule/Makefile.am b/gmodule/Makefile.am index 497d4c603..7bac888a1 100644 --- a/gmodule/Makefile.am +++ b/gmodule/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule \ - -DG_LOG_DOMAIN=g_log_domain_gmodule @GLIB_DEBUG_FLAGS@ + -DG_LOG_DOMAIN=\"GModule\" @GLIB_DEBUG_FLAGS@ EXTRA_DIST = \ makefile.mingw.in \ diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 29848a369..b735fea4f 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -82,7 +82,6 @@ static inline GModule* g_module_find_by_name (const gchar *name); /* --- variables --- */ -const char *g_log_domain_gmodule = "GModule"; static GModule *modules = NULL; static GModule *main_module = NULL; static GStaticPrivate module_error_private = G_STATIC_PRIVATE_INIT; diff --git a/gmodule/gmodule.def b/gmodule/gmodule.def index 5af8869ff..11e0d5da3 100644 --- a/gmodule/gmodule.def +++ b/gmodule/gmodule.def @@ -1,5 +1,4 @@ EXPORTS - g_log_domain_gmodule g_module_build_path g_module_close g_module_error diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h index 18d0353ab..39d00d71b 100644 --- a/gmodule/gmodule.h +++ b/gmodule/gmodule.h @@ -27,7 +27,6 @@ #ifndef __GMODULE_H__ #define __GMODULE_H__ -extern const char *g_log_domain_gmodule; #include #ifdef __cplusplus diff --git a/gmodule/makefile.mingw.in b/gmodule/makefile.mingw.in index 5ce374f1b..c21511f7e 100644 --- a/gmodule/makefile.mingw.in +++ b/gmodule/makefile.mingw.in @@ -15,7 +15,7 @@ GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@ # Nothing much configurable below INCLUDES = -I .. -I . -DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=g_log_domain_gmodule -DG_ENABLE_DEBUG +DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\" -DG_ENABLE_DEBUG BUILD_DLL = ../build-dll diff --git a/gmodule/makefile.msc.in b/gmodule/makefile.msc.in index ebc9d4dae..47b3c0e6f 100644 --- a/gmodule/makefile.msc.in +++ b/gmodule/makefile.msc.in @@ -13,7 +13,7 @@ GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@ # Nothing much configurable below INCLUDES = -I .. -I . -DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=g_log_domain_gmodule -DG_ENABLE_DEBUG +DEFINES = -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"GModule\" -DG_ENABLE_DEBUG all : \ gmoduleconf.h \ -- cgit v1.2.3