[gtk+] Remove an unused debug value



commit 92e65570150f6273dc028a310e27d042c8580f51
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 9 22:56:05 2018 -0500

    Remove an unused debug value
    
    GTK_DEBUG_MISC is not used at all. Drop it.

 docs/reference/gtk/running.sgml |    4 ----
 gtk/gtkdebug.h                  |    1 -
 gtk/gtkmain.c                   |    1 -
 3 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/docs/reference/gtk/running.sgml b/docs/reference/gtk/running.sgml
index 7854bfa..5ef674e 100644
--- a/docs/reference/gtk/running.sgml
+++ b/docs/reference/gtk/running.sgml
@@ -69,10 +69,6 @@ additional environment variables.
       <listitem><para>Keybindings</para></listitem>
     </varlistentry>
     <varlistentry>
-      <term>misc</term>
-      <listitem><para>Miscellaneous information</para></listitem>
-    </varlistentry>
-    <varlistentry>
       <term>modules</term>
       <listitem><para>Loading of modules</para></listitem>
     </varlistentry>
diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h
index e550a32..b42eba9 100644
--- a/gtk/gtkdebug.h
+++ b/gtk/gtkdebug.h
@@ -35,7 +35,6 @@
 G_BEGIN_DECLS
 
 typedef enum {
-  GTK_DEBUG_MISC            = 1 << 0,
   GTK_DEBUG_TEXT            = 1 << 1,
   GTK_DEBUG_TREE            = 1 << 2,
   GTK_DEBUG_UPDATES         = 1 << 3,
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 48c3aae..12f4da3 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -153,7 +153,6 @@ DisplayDebugFlags debug_flags[N_DEBUG_DISPLAYS];
 
 #ifdef G_ENABLE_DEBUG
 static const GDebugKey gtk_debug_keys[] = {
-  { "misc", GTK_DEBUG_MISC },
   { "text", GTK_DEBUG_TEXT },
   { "tree", GTK_DEBUG_TREE },
   { "updates", GTK_DEBUG_UPDATES },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]