[ekiga] Correctly migrate setting from Disable to Enable network detection



commit 77dbc945470cb83dec184cf1a9995c0ce5902ab4
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Jul 20 10:50:12 2010 +0200

    Correctly migrate setting from Disable to Enable network detection

 src/gui/conf.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/conf.cpp b/src/gui/conf.cpp
index 4121203..7364df6 100644
--- a/src/gui/conf.cpp
+++ b/src/gui/conf.cpp
@@ -180,7 +180,7 @@ gnomemeeting_conf_upgrade ()
   g_free (plugin);
 
   // migrate from Disable to Enable network detection
-  if (version < 3030)
+  if (version >= 3020 && version < 3030)
     gm_conf_set_bool (NAT_KEY "enable_stun",
                       ! gm_conf_get_bool (NAT_KEY "disable_stun"));
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]