aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail-config
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail-config')
-rw-r--r--modules/mail-config/e-mail-config-smtp-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail-config/e-mail-config-smtp-backend.c b/modules/mail-config/e-mail-config-smtp-backend.c
index 0b823f9eca..0c3d56ba86 100644
--- a/modules/mail-config/e-mail-config-smtp-backend.c
+++ b/modules/mail-config/e-mail-config-smtp-backend.c
@@ -238,8 +238,8 @@ mail_config_smtp_backend_insert_widgets (EMailConfigServiceBackend *backend,
priv->user_entry = widget; /* do not reference */
gtk_widget_show (widget);
- port = 0;
- g_object_get (G_OBJECT (settings), "port", &port, NULL);
+ port = camel_network_settings_get_port (
+ CAMEL_NETWORK_SETTINGS (settings));
g_object_bind_property (
settings, "host",