[vinagre] Added Tube to debug options
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Subject: [vinagre] Added Tube to debug options
- Date: Mon, 27 Jul 2009 15:04:06 +0000 (UTC)
commit 7534980684baee7c5500b030c4f717a436092018
Author: Jonh Wendell <jwendell gnome org>
Date: Mon Jul 27 11:59:01 2009 -0300
Added Tube to debug options
vinagre/vinagre-debug.c | 2 ++
vinagre/vinagre-debug.h | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/vinagre/vinagre-debug.c b/vinagre/vinagre-debug.c
index 38707df..9ca64e1 100644
--- a/vinagre/vinagre-debug.c
+++ b/vinagre/vinagre-debug.c
@@ -63,6 +63,8 @@ vinagre_debug_init ()
debug = debug | VINAGRE_DEBUG_LOADER;
if (g_getenv ("VINAGRE_DEBUG_APP") != NULL)
debug = debug | VINAGRE_DEBUG_APP;
+ if (g_getenv ("VINAGRE_DEBUG_TUBE") != NULL)
+ debug = debug | VINAGRE_DEBUG_TUBE;
out:
diff --git a/vinagre/vinagre-debug.h b/vinagre/vinagre-debug.h
index d162dc1..9914a58 100644
--- a/vinagre/vinagre-debug.h
+++ b/vinagre/vinagre-debug.h
@@ -41,6 +41,7 @@ typedef enum {
VINAGRE_DEBUG_WINDOW = 1 << 5,
VINAGRE_DEBUG_LOADER = 1 << 6,
VINAGRE_DEBUG_APP = 1 << 7,
+ VINAGRE_DEBUG_TUBE = 1 << 8
} VinagreDebugSection;
@@ -51,7 +52,8 @@ typedef enum {
#define DEBUG_UTILS VINAGRE_DEBUG_UTILS, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_WINDOW VINAGRE_DEBUG_WINDOW, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_LOADER VINAGRE_DEBUG_LOADER, __FILE__, __LINE__, G_STRFUNC
-#define DEBUG_APP VINAGRE_DEBUG_APP, __FILE__, __LINE__, G_STRFUNC
+#define DEBUG_APP VINAGRE_DEBUG_APP, __FILE__, __LINE__, G_STRFUNC
+#define DEBUG_TUBE VINAGRE_DEBUG_TUBE, __FILE__, __LINE__, G_STRFUNC
void vinagre_debug_init (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]