[network-manager-netbook] Fix finding empty GConf name for new connection
- From: Tambet Ingo <tambeti src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [network-manager-netbook] Fix finding empty GConf name for new connection
- Date: Fri, 11 Dec 2009 08:58:57 +0000 (UTC)
commit d96258272b1d1edbf6303007b507d2d6b2772cc4
Author: Tambet Ingo <tambet gmail com>
Date: Thu Dec 10 11:31:02 2009 +0200
Fix finding empty GConf name for new connection
libnm-gtk/gconf-helpers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnm-gtk/gconf-helpers.c b/libnm-gtk/gconf-helpers.c
index bc2700d..2d1d0b0 100644
--- a/libnm-gtk/gconf-helpers.c
+++ b/libnm-gtk/gconf-helpers.c
@@ -2523,7 +2523,7 @@ nm_gconf_write_connection (NMConnection *connection,
if (dir)
my_dir = g_strdup (dir);
else {
- int i;
+ int i = 0;
/* Find free GConf directory */
while (i++ < G_MAXUINT32) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]