diff options
author | Dan Winship <danw@src.gnome.org> | 2000-09-12 22:31:57 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-09-12 22:31:57 +0800 |
commit | 327d984447bb5e40445bf3af25704e23699b1c28 (patch) | |
tree | a0ca1461397264d4fd5ee4c8c5145bb937e3845d /filter | |
parent | 395a311fe36286101e2d82c13d2ad1227df3e8bb (diff) | |
download | gsoc2013-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')
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-datespec.c | 2 | ||||
-rw-r--r-- | filter/rule-context.c | 6 |
3 files changed, 9 insertions, 4 deletions
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 <danw@helixcode.com> + + * rule-context.c (d): + * filter-datespec.c (d): Turn off debugging output. + 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * 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) { |