aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-context.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-12 22:31:57 +0800
committerDan Winship <danw@src.gnome.org>2000-09-12 22:31:57 +0800
commit327d984447bb5e40445bf3af25704e23699b1c28 (patch)
treea0ca1461397264d4fd5ee4c8c5145bb937e3845d /filter/rule-context.c
parent395a311fe36286101e2d82c13d2ad1227df3e8bb (diff)
downloadgsoc2013-evolution-327d984447bb5e40445bf3af25704e23699b1c28.tar
gsoc2013-evolution-327d984447bb5e40445bf3af25704e23699b1c28.tar.gz
gsoc2013-evolution-327d984447bb5e40445bf3af25704e23699b1c28.tar.bz2
gsoc2013-evolution-327d984447bb5e40445bf3af25704e23699b1c28.tar.lz
gsoc2013-evolution-327d984447bb5e40445bf3af25704e23699b1c28.tar.xz
gsoc2013-evolution-327d984447bb5e40445bf3af25704e23699b1c28.tar.zst
gsoc2013-evolution-327d984447bb5e40445bf3af25704e23699b1c28.zip
Turn off debugging output.
* rule-context.c (d): * filter-datespec.c (d): Turn off debugging output. svn path=/trunk/; revision=5363
Diffstat (limited to 'filter/rule-context.c')
-rw-r--r--filter/rule-context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/rule-context.c b/filter/rule-context.c
index 653627a550..743e2507c9 100644
--- a/filter/rule-context.c
+++ b/filter/rule-context.c
@@ -24,7 +24,7 @@
#include "rule-context.h"
-#define d(x) x
+#define d(x)
static int load(RuleContext *f, const char *system, const char *user,
RCRegisterFunc on_demand_cb, gpointer user_data);
@@ -178,7 +178,7 @@ rule_context_set_error(RuleContext *f, char *error)
int rule_context_load(RuleContext *f, const char *system, const char *user,
RCRegisterFunc on_demand_cb, gpointer user_data )
{
- printf("rule_context: loading %s %s\n", system, user);
+ d(printf("rule_context: loading %s %s\n", system, user));
return ((RuleContextClass *)((GtkObject *)f)->klass)->load(f, system, user,
on_demand_cb,
@@ -247,7 +247,7 @@ static int load(RuleContext *f, const char *system, const char *user,
d(printf("loading rules ...\n"));
rule = set->childs;
while (rule) {
- printf("checking node: %s\n", rule->name);
+ d(printf("checking node: %s\n", rule->name));
if (!strcmp(rule->name, "rule")) {
FilterRule *part = FILTER_RULE(gtk_type_new(rule_map->type));
if (filter_rule_xml_decode(part, rule, f) == 0) {