diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 03:34:56 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:05 +0800 |
commit | 9a149f3ab61a08a5943d57045fad59cd894ba7a5 (patch) | |
tree | 6c58cb78005adefd76786ca84a6ae7ceca97085a /plugins/groupwise-features/proxy.c | |
parent | 70978d2f7f5d9ce0f049fd200d960d1c140719a9 (diff) | |
download | gsoc2013-evolution-9a149f3ab61a08a5943d57045fad59cd894ba7a5.tar gsoc2013-evolution-9a149f3ab61a08a5943d57045fad59cd894ba7a5.tar.gz gsoc2013-evolution-9a149f3ab61a08a5943d57045fad59cd894ba7a5.tar.bz2 gsoc2013-evolution-9a149f3ab61a08a5943d57045fad59cd894ba7a5.tar.lz gsoc2013-evolution-9a149f3ab61a08a5943d57045fad59cd894ba7a5.tar.xz gsoc2013-evolution-9a149f3ab61a08a5943d57045fad59cd894ba7a5.tar.zst gsoc2013-evolution-9a149f3ab61a08a5943d57045fad59cd894ba7a5.zip |
EMConfigTargetAccount: Add original_account member.
Rename the existing 'account' member to 'modified_account' and add an
'original_account' member so plugins have direct access to both.
Mostly of benefit to the imap-features plugin.
Diffstat (limited to 'plugins/groupwise-features/proxy.c')
-rw-r--r-- | plugins/groupwise-features/proxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c index 849d4ea3d4..1db29531e6 100644 --- a/plugins/groupwise-features/proxy.c +++ b/plugins/groupwise-features/proxy.c @@ -519,7 +519,7 @@ proxy_abort (GtkWidget *button, EConfigHookItemFactoryData *data) proxyDialog *prd = NULL; target_account = (EMConfigTargetAccount *)data->config->target; - account = target_account->account; + account = target_account->modified_account; prd = g_object_get_data ((GObject *)account, "prd"); if (!prd || !prd->priv || !prd->priv->proxy_list) @@ -540,7 +540,7 @@ proxy_commit (GtkWidget *button, EConfigHookItemFactoryData *data) proxyDialog *prd = NULL; target_account = (EMConfigTargetAccount *)data->config->target; - account = target_account->account; + account = target_account->modified_account; prd = g_object_get_data ((GObject *)account, "prd"); /* In case of non-GroupWise preferences edit, "prd" will be NULL. */ @@ -653,7 +653,7 @@ org_gnome_proxy (EPlugin *epl, EConfigHookItemFactoryData *data) session = e_mail_backend_get_session (E_MAIL_BACKEND (shell_backend)); target_account = (EMConfigTargetAccount *)data->config->target; - account = target_account->account; + account = target_account->modified_account; /* We are using some g_object_set on this. We shuold also avoid double-free later. So reffing */ g_object_ref (account); |