[sapwood] move the debug flags into the pixmap code



commit c83bee69411515dcb990e5357a8d8ec3350c8032
Author: Sven Herzberg <herzi gnome-de org>
Date:   Thu Aug 5 09:37:48 2010 +0200

    move the debug flags into the pixmap code
    
    * engine/sapwood-main.c,
    * engine/sapwood-pixmap.c: as the debug flags are declared in
      sapwood-pixmap.h and they are needed by the SapwoodPixmap code, we
      move them over here

 engine/sapwood-main.c   |    2 --
 engine/sapwood-pixmap.c |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/engine/sapwood-main.c b/engine/sapwood-main.c
index 5055655..b9de1e2 100644
--- a/engine/sapwood-main.c
+++ b/engine/sapwood-main.c
@@ -29,8 +29,6 @@
 #include <gmodule.h>
 
 G_GNUC_INTERNAL guint sapwood_debug_flags = 0;
-gboolean sapwood_debug_scaling = FALSE;
-gboolean sapwood_debug_xtraps = FALSE;
 
 typedef enum {
   SAPWOOD_DEBUG_SCALING   = 1 << 0,
diff --git a/engine/sapwood-pixmap.c b/engine/sapwood-pixmap.c
index 8b9418b..90a3d5e 100644
--- a/engine/sapwood-pixmap.c
+++ b/engine/sapwood-pixmap.c
@@ -29,6 +29,9 @@
 #include <string.h>
 #include <unistd.h>
 
+gboolean sapwood_debug_scaling = FALSE;
+gboolean sapwood_debug_xtraps = FALSE;
+
 static gboolean
 pixbuf_proto_request (const char *req,
                       ssize_t     reqlen,



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