]> git.pld-linux.org Git - packages/GConf2.git/commitdiff
- better fix
authorfreetz <freetz@pld-linux.org>
Mon, 13 Jun 2005 16:38:51 +0000 (16:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    GConf2-shutdown.patch -> 1.2

GConf2-shutdown.patch

index 4e2c94e7871b6d93db01606fb1773e3a2210ff53..1a61e002f71e3bc5b9b1dcfccd8ae777c100cc5b 100644 (file)
@@ -1,11 +1,17 @@
 --- GConf-2.10.0.orig/gconf/gconfd.c   2005-02-06 22:35:21.000000000 +0100
 +++ GConf-2.10.0/gconf/gconfd.c        2005-06-09 17:03:48.010021608 +0200
-@@ -1029,7 +1029,7 @@
-       if (db == default_db)
-       {
-         tmp_list = g_list_next (tmp_list);
--        continue;
-+        if (tmp_list) continue;
-       }
+@@ -1150,8 +1150,12 @@ no_databases_in_use (void)
+   /* Only the default database still open, and
+    * it has no listeners
+    */
+-  return db_list == NULL &&
+-    gconf_listeners_count (default_db->listeners) == 0;
++  if (db_list != NULL &&
++      db_list->data == default_db &&
++      db_list->next == NULL)
++    return gconf_listeners_count (default_db->listeners) == 0;
++
++  return FALSE;
+ }
  
-       /* Drop any listeners whose clients are gone. */
+ void
This page took 0.156851 seconds and 4 git commands to generate.