[gedit/wip/gcode/debug: 3/3] gedit-debug: remove DEBUG_UTILS
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/gcode/debug: 3/3] gedit-debug: remove DEBUG_UTILS
- Date: Sat, 2 May 2015 19:09:47 +0000 (UTC)
commit 0fd926862b4e8c17ca39d10193969adedc122e1b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat May 2 21:01:58 2015 +0200
gedit-debug: remove DEBUG_UTILS
DEBUG_UTILS is now in gcode-debug.
docs/reference/gedit-sections.txt | 1 -
gedit/gedit-debug.c | 4 ----
gedit/gedit-debug.h | 4 +---
3 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/docs/reference/gedit-sections.txt b/docs/reference/gedit-sections.txt
index 8d123e1..18c71ed 100644
--- a/docs/reference/gedit-sections.txt
+++ b/docs/reference/gedit-sections.txt
@@ -334,7 +334,6 @@ DEBUG_TAB
DEBUG_DOCUMENT
DEBUG_COMMANDS
DEBUG_APP
-DEBUG_UTILS
DEBUG_METADATA
gedit_debug_init
gedit_debug
diff --git a/gedit/gedit-debug.c b/gedit/gedit-debug.c
index 396dc14..25aa8dd 100644
--- a/gedit/gedit-debug.c
+++ b/gedit/gedit-debug.c
@@ -96,10 +96,6 @@ gedit_debug_init (void)
{
enabled_sections |= GEDIT_DEBUG_APP;
}
- if (g_getenv ("GEDIT_DEBUG_UTILS") != NULL)
- {
- enabled_sections |= GEDIT_DEBUG_UTILS;
- }
if (g_getenv ("GEDIT_DEBUG_METADATA") != NULL)
{
enabled_sections |= GEDIT_DEBUG_METADATA;
diff --git a/gedit/gedit-debug.h b/gedit/gedit-debug.h
index 226a0ba..c49c6b9 100644
--- a/gedit/gedit-debug.h
+++ b/gedit/gedit-debug.h
@@ -47,8 +47,7 @@ typedef enum {
GEDIT_DEBUG_DOCUMENT = 1 << 6,
GEDIT_DEBUG_COMMANDS = 1 << 7,
GEDIT_DEBUG_APP = 1 << 8,
- GEDIT_DEBUG_UTILS = 1 << 9,
- GEDIT_DEBUG_METADATA = 1 << 10,
+ GEDIT_DEBUG_METADATA = 1 << 9,
} GeditDebugSection;
#define DEBUG_VIEW GEDIT_DEBUG_VIEW, __FILE__, __LINE__, G_STRFUNC
@@ -60,7 +59,6 @@ typedef enum {
#define DEBUG_DOCUMENT GEDIT_DEBUG_DOCUMENT,__FILE__, __LINE__, G_STRFUNC
#define DEBUG_COMMANDS GEDIT_DEBUG_COMMANDS,__FILE__, __LINE__, G_STRFUNC
#define DEBUG_APP GEDIT_DEBUG_APP, __FILE__, __LINE__, G_STRFUNC
-#define DEBUG_UTILS GEDIT_DEBUG_UTILS, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_METADATA GEDIT_DEBUG_METADATA,__FILE__, __LINE__, G_STRFUNC
void gedit_debug_init (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]