[gedit/wip/gedit-next] debug: remove DEBUG_UTILS
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/gedit-next] debug: remove DEBUG_UTILS
- Date: Sun, 27 Mar 2016 14:01:50 +0000 (UTC)
commit 35e1ca4665dd096a6064446da309ba602142b6e9
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Mar 27 16:00:13 2016 +0200
debug: remove DEBUG_UTILS
It's no longer used.
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 47140b7..f1b3b4b 100644
--- a/docs/reference/gedit-sections.txt
+++ b/docs/reference/gedit-sections.txt
@@ -320,7 +320,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]