aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-03-02 13:23:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-03-02 13:23:46 +0800
commit9c26fef2d420b58f8e3699af4c09705f3e9eb65b (patch)
treebc4c445914a44b7ea43b315edafdafbf53b218ef /mail/mail-autofilter.c
parent9f9805577b127c40c317e72bbfdd1cd8235b5de2 (diff)
downloadgsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.tar.gz
gsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.tar.zst
gsoc2013-evolution-9c26fef2d420b58f8e3699af4c09705f3e9eb65b.zip
include atkutil.h (message_list_construct): cast warning.
2005-03-01 Not Zed <NotZed@Ximian.com> * message-list.c: include atkutil.h (message_list_construct): cast warning. * mail-session.c (mail_session_set_interactive): remove unused variable since we can no longer terminate password requests. * mail-autofilter.c (em_vfolder_rule_from_address): properly define in header. * em-utils.c (emu_get_save_filesel): only define filename in the !gtkfilechooser case. * em-mailer-prefs.c (restore_labels_clicked): cast for warning. (em_mailer_prefs_construct): same. * em-format-html.c (efh_format_header): remove unused variable. * em-account-editor.c (emae_widget_druid_glade): remove unused variable. * importers/mail-importer.h: forward-delcare struct _MailComponent. * *c: remove/disable various debug. svn path=/trunk/; revision=28934
Diffstat (limited to 'mail/mail-autofilter.c')
-rw-r--r--mail/mail-autofilter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c
index 8084b226f1..a1f7728d78 100644
--- a/mail/mail-autofilter.c
+++ b/mail/mail-autofilter.c
@@ -52,6 +52,7 @@
#include "em-filter-editor.h"
#include "filter/filter-option.h"
+#define d(x)
static void
rule_match_recipients (RuleContext *context, FilterRule *rule, CamelInternetAddress *iaddr)
@@ -385,7 +386,7 @@ mail_filter_rename_uri(CamelStore *store, const char *olduri, const char *newuri
changed = rule_context_rename_uri((RuleContext *)fc, eolduri, enewuri, g_str_equal);
if (changed) {
- printf("Folder rename '%s' -> '%s' changed filters, resaving\n", olduri, newuri);
+ d(printf("Folder rename '%s' -> '%s' changed filters, resaving\n", olduri, newuri));
if (rule_context_save((RuleContext *)fc, user) == -1)
g_warning("Could not write out changed filter rules\n");
rule_context_free_uri_list((RuleContext *)fc, changed);
@@ -431,7 +432,7 @@ mail_filter_delete_uri(CamelStore *store, const char *uri)
g_string_free(s, TRUE);
gtk_widget_show(dialog);
- printf("Folder deleterename '%s' changed filters, resaving\n", euri);
+ d(printf("Folder delete/rename '%s' changed filters, resaving\n", euri));
if (rule_context_save ((RuleContext *) fc, user) == -1)
g_warning ("Could not write out changed filter rules\n");
rule_context_free_uri_list ((RuleContext *) fc, deleted);