aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-account-disable/mail-account-disable.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mail-account-disable/mail-account-disable.c')
-rw-r--r--plugins/mail-account-disable/mail-account-disable.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/mail-account-disable/mail-account-disable.c b/plugins/mail-account-disable/mail-account-disable.c
index 134bb44b45..56999f33ca 100644
--- a/plugins/mail-account-disable/mail-account-disable.c
+++ b/plugins/mail-account-disable/mail-account-disable.c
@@ -39,7 +39,7 @@
#define ACCOUNT_DISABLE 0
#define PROXY_LOGOUT 1
-void mail_account_disable (EPopup *ep, EPopupItem *p, char *uri);
+void mail_account_disable (EPopup *ep, EPopupItem *p, void *data);
void org_gnome_create_mail_account_disable (EPlugin *ep, EMPopupTargetFolder *t);
static EPopupItem popup_items[] = {
@@ -50,12 +50,13 @@ static EPopupItem popup_items[] = {
static void
popup_free (EPopup *ep, GSList *items, void *data)
{
-g_slist_free (items);
+ g_slist_free (items);
}
void
-mail_account_disable (EPopup *ep, EPopupItem *p, char *uri)
+mail_account_disable (EPopup *ep, EPopupItem *p, void *data)
{
+ char *uri = data;
EAccount *account;
account = mail_config_get_account_by_source_url (uri);