aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Browaeys <prahal@yahoo.com>2012-11-11 19:42:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-11-11 19:45:13 +0800
commit303096a35e71541b3412d34bd63232e3939a15f8 (patch)
tree8031e62879aba6869a498f34f9efcc877cd972c5
parent2c4ae5e7685c462f8d464448e4617b8dea029e72 (diff)
downloadgsoc2013-evolution-303096a35e71541b3412d34bd63232e3939a15f8.tar.gz
gsoc2013-evolution-303096a35e71541b3412d34bd63232e3939a15f8.tar.zst
gsoc2013-evolution-303096a35e71541b3412d34bd63232e3939a15f8.zip
Bug 688084 - Cannot configure connection to webdav address book
-rw-r--r--modules/book-config-webdav/evolution-book-config-webdav.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/book-config-webdav/evolution-book-config-webdav.c b/modules/book-config-webdav/evolution-book-config-webdav.c
index 0e7a6f30f2..6b6b1b47f2 100644
--- a/modules/book-config-webdav/evolution-book-config-webdav.c
+++ b/modules/book-config-webdav/evolution-book-config-webdav.c
@@ -79,9 +79,9 @@ book_config_webdav_text_to_uri (GBinding *binding,
GValue *target_value,
gpointer user_data)
{
- GObject *target;
ESource *source;
SoupURI *soup_uri;
+ GObject *source_binding;
ESourceAuthentication *extension;
const gchar *extension_name;
const gchar *text;
@@ -93,8 +93,9 @@ book_config_webdav_text_to_uri (GBinding *binding,
if (soup_uri == NULL)
return FALSE;
- target = g_binding_get_target (binding);
- source = e_source_extension_ref_source (E_SOURCE_EXTENSION (target));
+ source_binding = g_binding_get_source (binding);
+ source = e_source_extension_ref_source (
+ E_SOURCE_EXTENSION (source_binding));
extension_name = E_SOURCE_EXTENSION_AUTHENTICATION;
extension = e_source_get_extension (source, extension_name);