aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-port-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-port-entry.c')
-rw-r--r--widgets/misc/e-port-entry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/misc/e-port-entry.c b/widgets/misc/e-port-entry.c
index cf857b5d55..f007731433 100644
--- a/widgets/misc/e-port-entry.c
+++ b/widgets/misc/e-port-entry.c
@@ -468,6 +468,9 @@ e_port_entry_set_security_method (EPortEntry *port_entry,
{
g_return_if_fail (E_IS_PORT_ENTRY (port_entry));
+ if (port_entry->priv->method == method)
+ return;
+
port_entry->priv->method = method;
port_entry_method_changed (port_entry);