From 62173ea1f0912002016aff25224517f87e33bd7c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 30 Aug 2004 04:32:49 +0000 Subject: constify the strings to remove a warning. 2004-08-27 Not Zed * common/authentication.c (auth_func_cb): constify the strings to remove a warning. ** See bug #64856 (workaround). * common/authentication.c (auth_func_cb): * gui/e-pub-utils.c(e_pub_publish): add ONLINE flag to password request. svn path=/trunk/; revision=27077 --- calendar/common/authentication.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/common') diff --git a/calendar/common/authentication.c b/calendar/common/authentication.c index 418d71a7b3..2df97e3aca 100644 --- a/calendar/common/authentication.c +++ b/calendar/common/authentication.c @@ -36,8 +36,7 @@ auth_func_cb (ECal *ecal, const char *prompt, const char *key, gpointer user_dat gboolean remember; char *password; ESource *source; - gchar *auth_domain; - gchar *component_name; + const gchar *auth_domain, *component_name; source = e_cal_get_source (ecal); auth_domain = e_source_get_property (source, "auth-domain"); @@ -46,7 +45,8 @@ auth_func_cb (ECal *ecal, const char *prompt, const char *key, gpointer user_dat if (!password) password = e_passwords_ask_password (_("Enter password"), component_name, key, prompt, - E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET, &remember, + E_PASSWORDS_REMEMBER_FOREVER|E_PASSWORDS_SECRET|E_PASSWORDS_ONLINE, + &remember, NULL); return password; -- cgit v1.2.3