[Xfce4-commits] <midori:master> Guard debug variables in Adblock with G_ENABLE_DEBUG
Christian Dywan
noreply at xfce.org
Sat May 15 01:08:02 CEST 2010
Updating branch refs/heads/master
to bab6124cff457692b7052fe53592c05b0d342a21 (commit)
from 25a08b36eefbfef9a2b6436af39f1d1315e7fc1f (commit)
commit bab6124cff457692b7052fe53592c05b0d342a21
Author: Enrico Tröger <enrico.troeger at uvena.de>
Date: Fri May 14 22:41:04 2010 +0200
Guard debug variables in Adblock with G_ENABLE_DEBUG
extensions/adblock.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/extensions/adblock.c b/extensions/adblock.c
index b15becf..8b021af 100644
--- a/extensions/adblock.c
+++ b/extensions/adblock.c
@@ -44,7 +44,9 @@ static GHashTable* keys;
static gchar* blockcss = NULL;
static gchar* blockcssprivate = NULL;
static gchar* blockscript = NULL;
+#ifdef G_ENABLE_DEBUG
static guint debug;
+#endif
static gboolean
adblock_parse_file (gchar* path);
@@ -1356,7 +1358,9 @@ static void
adblock_activate_cb (MidoriExtension* extension,
MidoriApp* app)
{
+ #ifdef G_ENABLE_DEBUG
const gchar* debug_mode;
+ #endif
KatzeArray* browsers;
MidoriBrowser* browser;
guint i;
More information about the Xfce4-commits
mailing list