aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-account-setup
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/groupwise-account-setup')
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c18
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.h2
-rw-r--r--plugins/groupwise-account-setup/groupwise-account-setup.c6
3 files changed, 13 insertions, 13 deletions
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c
index 0cee4317a7..3d1fb15214 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.c
+++ b/plugins/groupwise-account-setup/camel-gw-listener.c
@@ -10,7 +10,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
@@ -176,7 +176,7 @@ add_esource (const char *conf_key, GwAccountInfo *info, const char *source_name
ESource *source;
GConfClient* client;
GSList *ids, *temp ;
- char *source_selection_key;
+ const gchar *source_selection_key;
char *relative_uri;
const char *soap_port;
const char * use_ssl;
@@ -224,7 +224,7 @@ add_esource (const char *conf_key, GwAccountInfo *info, const char *source_name
e_source_set_property (source, "refresh", str);
g_free (str);
- } else
+ } else
e_source_set_property (source, "refresh", NULL);
e_source_set_property (source, "offline_sync", offline_sync ? "1" : "0" );
@@ -274,7 +274,7 @@ remove_esource (const char *conf_key, const char *group_name, char* source_name,
GConfClient* client;
GSList *ids;
GSList *node_tobe_deleted;
- char *source_selection_key;
+ const gchar *source_selection_key;
client = gconf_client_get_default();
list = e_source_list_new_for_gconf (client, conf_key);
@@ -349,7 +349,7 @@ modify_esource (const char* conf_key, GwAccountInfo *old_account_info, EAccount
const char *poa_address;
const char *new_poa_address;
const char* new_group_name = a->name;
-
+
url = camel_url_new (old_account_info->source_url, NULL);
poa_address = url->host;
if (!poa_address || strlen (poa_address) ==0)
@@ -387,13 +387,13 @@ modify_esource (const char* conf_key, GwAccountInfo *old_account_info, EAccount
e_source_set_property (source, "port", camel_url_get_param (new_url,"soap_port"));
e_source_set_property (source, "use_ssl", camel_url_get_param (url, "use_ssl"));
e_source_set_property (source, "offline_sync", camel_url_get_param (url, "offline_sync") ? "1" : "0");
-
+
if (a->source->auto_check) {
char *str = g_strdup_printf ("%d", a->source->auto_check_time);
-
+
e_source_set_property (source, "refresh", str);
g_free (str);
- } else
+ } else
e_source_set_property (source, "refresh", NULL);
e_source_list_sync (list, NULL);
@@ -424,7 +424,7 @@ add_calendar_tasks_sources (GwAccountInfo *info)
add_esource ("/apps/evolution/calendar/sources", info, _("Calendar"), url, NULL, FALSE);
add_esource ("/apps/evolution/tasks/sources", info, _("Tasks"), url, NULL, FALSE);
add_esource ("/apps/evolution/memos/sources", info, _("Notes"), url, NULL, TRUE);
-
+
camel_url_free (url);
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.h b/plugins/groupwise-account-setup/camel-gw-listener.h
index 16a3fbe83b..9682a6877b 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.h
+++ b/plugins/groupwise-account-setup/camel-gw-listener.h
@@ -11,7 +11,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
diff --git a/plugins/groupwise-account-setup/groupwise-account-setup.c b/plugins/groupwise-account-setup/groupwise-account-setup.c
index fca171aab5..aee5e90623 100644
--- a/plugins/groupwise-account-setup/groupwise-account-setup.c
+++ b/plugins/groupwise-account-setup/groupwise-account-setup.c
@@ -11,7 +11,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
@@ -51,7 +51,7 @@ set_esource_props (const char *path, EAccount *a, GConfClient *client, const cha
{
ESourceList *list;
GSList *groups;
-
+
list = e_source_list_new_for_gconf (client, path);
groups = e_source_list_peek_groups (list);
@@ -67,7 +67,7 @@ set_esource_props (const char *path, EAccount *a, GConfClient *client, const cha
if (a->source->auto_check) {
char *str = g_strdup_printf ("%d",a->source->auto_check_time);
-
+
e_source_set_property (source, "refresh", str);
g_free (str);
} else