From 327d984447bb5e40445bf3af25704e23699b1c28 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 12 Sep 2000 14:31:57 +0000 Subject: Turn off debugging output. * rule-context.c (d): * filter-datespec.c (d): Turn off debugging output. svn path=/trunk/; revision=5363 --- filter/ChangeLog | 5 +++++ filter/filter-datespec.c | 2 +- filter/rule-context.c | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'filter') diff --git a/filter/ChangeLog b/filter/ChangeLog index d96dbfe07a..06284d16e5 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2000-09-12 Dan Winship + + * rule-context.c (d): + * filter-datespec.c (d): Turn off debugging output. + 2000-09-11 Jeffrey Stedfast * filter-driver.c: We now use a "copied" variable to record diff --git a/filter/filter-datespec.c b/filter/filter-datespec.c index 3e938f8cc3..526c3400f7 100644 --- a/filter/filter-datespec.c +++ b/filter/filter-datespec.c @@ -26,7 +26,7 @@ #include "filter-datespec.h" #include "e-util/e-sexp.h" -#define d(x) x +#define d(x) static void xml_create(FilterElement *fe, xmlNodePtr node); static xmlNodePtr xml_encode(FilterElement *fe); 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) { -- cgit