[gtk+/rendering-cleanup: 22/22] debug: remove GdkRGB debuggability



commit 02c4ea0ebd8ad385668f28c917a34d7242392589
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jul 13 02:53:51 2010 +0200

    debug: remove GdkRGB debuggability
    
    GdkRGB is on its way out, so there's no need to have a debugging
    category for it.

 gdk/gdk.c          |    4 ----
 gdk/gdkinternals.h |   19 +++++++++----------
 2 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 340efb9..5b58d1f 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -71,7 +71,6 @@ static const GDebugKey gdk_debug_keys[] = {
   {"xim",	    GDK_DEBUG_XIM},
   {"nograbs",       GDK_DEBUG_NOGRABS},
   {"colormap",	    GDK_DEBUG_COLORMAP},
-  {"gdkrgb",	    GDK_DEBUG_GDKRGB},
   {"gc",	    GDK_DEBUG_GC},
   {"pixmap",	    GDK_DEBUG_PIXMAP},
   {"image",	    GDK_DEBUG_IMAGE},
@@ -266,9 +265,6 @@ gdk_parse_args (int    *argc,
     }
   g_option_context_free (option_context);
 
-  if (_gdk_debug_flags && GDK_DEBUG_GDKRGB)
-    gdk_rgb_set_verbose (TRUE);
-
   GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ()));
 }
 
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 4e2b074..2691bfc 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -77,16 +77,15 @@ typedef enum {
   GDK_DEBUG_XIM           = 1 << 3,
   GDK_DEBUG_NOGRABS       = 1 << 4,
   GDK_DEBUG_COLORMAP	  = 1 << 5,
-  GDK_DEBUG_GDKRGB	  = 1 << 6,
-  GDK_DEBUG_GC		  = 1 << 7,
-  GDK_DEBUG_PIXMAP	  = 1 << 8,
-  GDK_DEBUG_IMAGE	  = 1 << 9,
-  GDK_DEBUG_INPUT	  = 1 <<10,
-  GDK_DEBUG_CURSOR	  = 1 <<11,
-  GDK_DEBUG_MULTIHEAD	  = 1 <<12,
-  GDK_DEBUG_XINERAMA	  = 1 <<13,
-  GDK_DEBUG_DRAW	  = 1 <<14,
-  GDK_DEBUG_EVENTLOOP     = 1 <<15
+  GDK_DEBUG_GC		  = 1 << 6,
+  GDK_DEBUG_PIXMAP	  = 1 << 7,
+  GDK_DEBUG_IMAGE	  = 1 << 8,
+  GDK_DEBUG_INPUT	  = 1 << 9,
+  GDK_DEBUG_CURSOR	  = 1 <<10,
+  GDK_DEBUG_MULTIHEAD	  = 1 <<11,
+  GDK_DEBUG_XINERAMA	  = 1 <<12,
+  GDK_DEBUG_DRAW	  = 1 <<13,
+  GDK_DEBUG_EVENTLOOP     = 1 <<14
 } GdkDebugFlag;
 
 extern GList            *_gdk_default_filters;



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