From bdf71f5898fd79f16f56f16d55322f31dc58cf6e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 20 Jul 2013 09:39:38 -0400 Subject: Bug 704558 - Crash when using -fstack-protector-strong Same issue as in bug 703991, just in a different place. (cherry picked from commit 37965cf2cf59f9c741e1c8ae1001b2bf0ea407e0) --- e-util/e-source-config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'e-util') diff --git a/e-util/e-source-config.c b/e-util/e-source-config.c index 3d9303abd9..6a4f2ddf93 100644 --- a/e-util/e-source-config.c +++ b/e-util/e-source-config.c @@ -1342,7 +1342,9 @@ secure_to_port_cb (GBinding *binding, guint16 port; authentication_extension = g_binding_get_target (binding); - g_object_get (authentication_extension, "port", &port, NULL); + + port = e_source_authentication_get_port ( + E_SOURCE_AUTHENTICATION (authentication_extension)); if (port == 80 || port == 443 || port == 0) port = g_value_get_boolean (source_value) ? 443 : 80; -- cgit v1.2.3