]> git.pld-linux.org Git - packages/GConf2.git/blame - GConf2-shutdown.patch
- cosmetics
[packages/GConf2.git] / GConf2-shutdown.patch
CommitLineData
ae9f668f 1--- GConf-2.10.0.orig/gconf/gconfd.c 2005-02-06 22:35:21.000000000 +0100
2+++ GConf-2.10.0/gconf/gconfd.c 2005-06-09 17:03:48.010021608 +0200
226ed401 3@@ -1150,8 +1150,12 @@ no_databases_in_use (void)
4 /* Only the default database still open, and
5 * it has no listeners
6 */
7- return db_list == NULL &&
8- gconf_listeners_count (default_db->listeners) == 0;
9+ if (db_list != NULL &&
10+ db_list->data == default_db &&
11+ db_list->next == NULL)
12+ return gconf_listeners_count (default_db->listeners) == 0;
13+
14+ return FALSE;
15 }
ae9f668f 16
226ed401 17 void
This page took 0.091578 seconds and 4 git commands to generate.