diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-01-17 01:02:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-01-17 01:02:24 +0800 |
commit | 13f513ef2a1a01ceaa857419e95040b04fa05e76 (patch) | |
tree | 0a3cae967ecd1b4253a3f11ee151427424f6176a /mail/em-utils.c | |
parent | 274a61c49151901374fc02d74c35abb972ca48c9 (diff) | |
download | gsoc2013-evolution-13f513ef2a1a01ceaa857419e95040b04fa05e76.tar.gz gsoc2013-evolution-13f513ef2a1a01ceaa857419e95040b04fa05e76.tar.zst gsoc2013-evolution-13f513ef2a1a01ceaa857419e95040b04fa05e76.zip |
s/g_fre/g_free/
2004-01-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (mail_vfolder_rename_uri): s/g_fre/g_free/
* em-utils.c (guess_account): Change 'tmp' to not be const - fixes
a compile warning.
(em_utils_expunge_folder): Cast parent to a GtkWindow.
(em_utils_empty_trash): Same.
svn path=/trunk/; revision=24279
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 3740e47271..016d99380a 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -915,10 +915,10 @@ guess_account (CamelMimeMessage *message, CamelFolder *folder) const CamelInternetAddress *to, *cc; GHashTable *account_hash = NULL; EAccount *account = NULL; - const char *addr; + const char *posthdr, *addr; + char *tmp; int i; - const char *posthdr, *tmp; - + /* check for newsgroup header */ posthdr = camel_medium_get_header (CAMEL_MEDIUM (message), "Newsgroups"); @@ -2400,12 +2400,12 @@ em_utils_expunge_folder (GtkWidget *parent, CamelFolder *folder) camel_object_get(folder, NULL, CAMEL_OBJECT_DESCRIPTION, &name, 0); - if (!em_utils_prompt_user(parent, GTK_RESPONSE_NO, - "/apps/evolution/mail/prompts/expunge", - _("This operation will permanently remove all deleted messages " - "in the folder `%s'. If you continue, you " - "will not be able to recover these messages.\n" - "\nReally erase these messages?"), name)) + if (!em_utils_prompt_user ((GtkWindow *) parent, GTK_RESPONSE_NO, + "/apps/evolution/mail/prompts/expunge", + _("This operation will permanently remove all deleted messages " + "in the folder `%s'. If you continue, you " + "will not be able to recover these messages.\n" + "\nReally erase these messages?"), name)) return; mail_expunge_folder(folder, NULL, NULL); @@ -2426,12 +2426,12 @@ em_utils_empty_trash (GtkWidget *parent) EAccount *account; EIterator *iter; CamelException ex; - - if (!em_utils_prompt_user(parent, GTK_RESPONSE_NO, "/apps/evolution/mail/prompts/empty_trash", - _("This operation will permanently remove all deleted messages " - "in all folders. If you continue, you will not be able to " - "recover these messages.\n" - "\nReally erase these messages?"))) + + if (!em_utils_prompt_user ((GtkWindow *) parent, GTK_RESPONSE_NO, "/apps/evolution/mail/prompts/empty_trash", + _("This operation will permanently remove all deleted messages " + "in all folders. If you continue, you will not be able to " + "recover these messages.\n" + "\nReally erase these messages?"))) return; camel_exception_init (&ex); |