[vte] widget: Add style debug flag



commit fbf422d402b3643c4e8d24958214251ce85dedaf
Author: Christian Persch <chpe gnome org>
Date:   Wed May 18 15:40:19 2011 +0200

    widget: Add style debug flag
    
    ... and remove the unused background debug flag.
    
    Conflicts:
        src/debug.c
        src/debug.h

 src/debug.c |    2 +-
 src/debug.h |    2 +-
 src/vte.c   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/debug.c b/src/debug.c
index ad4dbd1..cac1a57 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -50,7 +50,7 @@ _vte_debug_init(void)
     { "ally",         VTE_DEBUG_ALLY         },
     { "pangocairo",   VTE_DEBUG_PANGOCAIRO   },
     { "widget-size",  VTE_DEBUG_WIDGET_SIZE  },
-    { "bg",           VTE_DEBUG_BG           },
+    { "style",        VTE_DEBUG_STYLE        },
     { "resize",       VTE_DEBUG_RESIZE       }
   };
 
diff --git a/src/debug.h b/src/debug.h
index 4575a52..9b64a0a 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -59,7 +59,7 @@ typedef enum {
        VTE_DEBUG_ADJ           = 1 << 19,
        VTE_DEBUG_PANGOCAIRO    = 1 << 20,
        VTE_DEBUG_WIDGET_SIZE   = 1 << 21,
-       VTE_DEBUG_BG            = 1 << 22,
+        VTE_DEBUG_STYLE         = 1 << 22,
        VTE_DEBUG_RESIZE        = 1 << 23
 } VteDebugFlags;
 
diff --git a/src/vte.c b/src/vte.c
index 126ce6f..f5a2158 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -12183,7 +12183,7 @@ vte_terminal_background_update(VteTerminal *terminal)
                        "Updating background color.\n");
 
        entry = _vte_terminal_get_color(terminal, VTE_DEFAULT_BG);
-       _vte_debug_print(VTE_DEBUG_BG,
+       _vte_debug_print(VTE_DEBUG_STYLE,
                         "Setting background color to (%d, %d, %d, %.3f).\n",
                         entry->red, entry->green, entry->blue,
                         terminal->pvt->background_alpha);


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