aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-10-29 09:29:44 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-29 09:29:44 +0800
commit71191904a3f8b9c2f737d1f7feb0c3ff748960df (patch)
tree372c153904e92bc6dac5b2686e833d929099d5d2 /filter
parent96df1d41383b092a7f5cc07634a7699e3210cc26 (diff)
downloadgsoc2013-evolution-71191904a3f8b9c2f737d1f7feb0c3ff748960df.tar
gsoc2013-evolution-71191904a3f8b9c2f737d1f7feb0c3ff748960df.tar.gz
gsoc2013-evolution-71191904a3f8b9c2f737d1f7feb0c3ff748960df.tar.bz2
gsoc2013-evolution-71191904a3f8b9c2f737d1f7feb0c3ff748960df.tar.lz
gsoc2013-evolution-71191904a3f8b9c2f737d1f7feb0c3ff748960df.tar.xz
gsoc2013-evolution-71191904a3f8b9c2f737d1f7feb0c3ff748960df.tar.zst
gsoc2013-evolution-71191904a3f8b9c2f737d1f7feb0c3ff748960df.zip
Some debug printf fixes for printf's that dont like null %s's.
2001-10-29 <NotZed@Ximian.com> * rule-editor.c: Some debug printf fixes for printf's that dont like null %s's. svn path=/trunk/; revision=14309
Diffstat (limited to 'filter')
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/rule-editor.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index de02e3af47..ff73b5fb36 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-29 <NotZed@Ximian.com>
+
+ * rule-editor.c: Some debug printf fixes for printf's that dont
+ like null %s's.
+
2001-10-28 <NotZed@Ximian.com>
* filter-context.c (filter_rename_uri): Implement, change any
diff --git a/filter/rule-editor.c b/filter/rule-editor.c
index 7f2d973954..401474ea2a 100644
--- a/filter/rule-editor.c
+++ b/filter/rule-editor.c
@@ -493,12 +493,12 @@ set_source (RuleEditor *re, const char *source)
gtk_list_clear_items(GTK_LIST(re->list), 0, -1);
- d(printf("Checking for rules that are of type %s\n", source));
+ d(printf("Checking for rules that are of type %s\n", source?source:"<nil>"));
while ((rule = rule_context_next_rule(re->context, rule, source)) != NULL) {
GtkWidget *item;
char *s;
- d(printf(" hit %s(%s)\n", rule->name, source));
+ d(printf(" hit %s(%s)\n", rule->name, source?source:"<nil">));
s = e_utf8_to_gtk_string (GTK_WIDGET (re->list), U_(rule->name));
item = gtk_list_item_new_with_label (s);
g_free (s);