aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-03-31 10:57:41 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-03-31 10:57:41 +0800
commiteeadfa251cc5fd00e2db09172b0394fe7a918d8e (patch)
tree716481d5ddb88d624c35549af2dcd534325b2a6f
parent13ea569098972657675694edeacd80bcb7377fb2 (diff)
downloadgsoc2013-evolution-eeadfa251cc5fd00e2db09172b0394fe7a918d8e.tar.gz
gsoc2013-evolution-eeadfa251cc5fd00e2db09172b0394fe7a918d8e.tar.zst
gsoc2013-evolution-eeadfa251cc5fd00e2db09172b0394fe7a918d8e.zip
need to check for config_service != NULL, not service != NULL before
2003-03-31 Not Zed <NotZed@Ximian.com> * mail-session.c (pass_response): need to check for config_service != NULL, not service != NULL before calling set_save_password. Fix for #40472. 2003-03-28 Not Zed <NotZed@Ximian.com> * folder-browser-ui.c: include e-meta.h * folder-browser.c (on_right_click): remove unused var. svn path=/trunk/; revision=20586
-rw-r--r--mail/ChangeLog12
-rw-r--r--mail/folder-browser-ui.c2
-rw-r--r--mail/folder-browser.c2
-rw-r--r--mail/mail-session.c2
4 files changed, 16 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index cc21b1179e..220507e86c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,15 @@
+2003-03-31 Not Zed <NotZed@Ximian.com>
+
+ * mail-session.c (pass_response): need to check for config_service
+ != NULL, not service != NULL before calling set_save_password.
+ Fix for #40472.
+
+2003-03-28 Not Zed <NotZed@Ximian.com>
+
+ * folder-browser-ui.c: include e-meta.h
+
+ * folder-browser.c (on_right_click): remove unused var.
+
2003-03-28 Jeffrey Stedfast <fejj@ximian.com>
* subscribe-dialog.c (fe_check_for_children): Declare a prototype
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c
index 1bb4cbf3c9..393278e505 100644
--- a/mail/folder-browser-ui.c
+++ b/mail/folder-browser-ui.c
@@ -42,6 +42,8 @@
#include <gal/menus/gal-view-factory-etable.h>
#include <gal/menus/gal-view-etable.h>
+#include "e-util/e-meta.h"
+
#include "mail-callbacks.h" /* almost all the verbs */
#include "mail-session.h" /* mail_session_forget_passwords */
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 0327ef0c7e..0c9c44151e 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1884,7 +1884,7 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
struct _filter_data *fdata = NULL;
GPtrArray *uids, *closures;
CamelMessageInfo *info;
- GSList *labels, *next;
+ GSList *labels;
int enable_mask = 0;
int hide_mask = 0;
char *mlist = NULL;
diff --git a/mail/mail-session.c b/mail/mail-session.c
index a78f9e064f..8ce25f6b47 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -198,7 +198,7 @@ pass_response (GtkDialog *dialog, int button, void *data)
remember = cache = m->check ? gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (m->check)) : FALSE;
if (m->service_url) {
- if (m->service) {
+ if (m->config_service) {
mail_config_service_set_save_passwd (m->config_service, cache);
/* set `cache' to TRUE because people don't want to have to