/[pkgs]/devel/GConf2/GConf2-2.14.0-timeout.patch
ViewVC logotype

Contents of /devel/GConf2/GConf2-2.14.0-timeout.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Sep 18 16:36:20 2006 UTC (3 years, 2 months ago) by mclasen
Branch: MAIN
CVS Tags: F-12-split, GConf2-2_26_0-1_fc11, GConf2-2_25_2-3_fc11, GConf2-2_23_1-1_fc10, GConf2-2_20_0-2_fc8, GConf2-2_20_0-1_fc8, F-7-split, GConf2-2_21_1-1_fc9, GConf2-2_22_0-4_fc10, F-8-split, GConf2-2_24_0-3_fc11, GConf2-2_26_0-3_fc12, GConf2-2_26_0-2_fc12, GConf2-2_22_0-7_fc10, GConf2-2_26_2-1_fc12, GConf2-2_14_0-5_fc6, GConf2-2_26_2-5_fc12, GConf2-2_18_0_1-2_fc7, GConf2-2_22_0-5_fc10, GConf2-2_21_2-1_fc9, GConf2-2_24_0-1_fc10, F-10-split, GConf2-2_21_90-2_fc9, GConf2-2_16_1-1_fc7, GConf2-2_14_0-4_fc6, F-11-split, GConf2-2_22_0-3_fc10, GConf2-2_16_0-4_fc7, GConf2-2_22_0-9_fc10, F-9-split, GConf2-2_26_2-3_fc12, GConf2-2_25_1-1_fc11, GConf2-2_22_0-10_fc10, FC-6-split, GConf2-2_25_2-1_fc11, GConf2-2_25_2-2_fc11, GConf2-2_16_0-5_fc7, GConf2-2_16_0-2_fc7, GConf2-2_16_0-3_fc7, GConf2-2_20_1-4_fc9, GConf2-2_22_0-6_fc10, GConf2-2_23_2-1_fc10, GConf2-2_26_2-2_fc12, GConf2-2_22_0-8_fc10, GConf2-2_21_90-1_fc9, GConf2-2_26_2-6_fc12, GConf2-2_20_1-1_fc8, GConf2-2_22_0-1_fc9, GConf2-2_20_1-2_fc9, GConf2-2_25_0-1_fc11, GConf2-2_16_0-1_fc7, GConf2-2_14_0-3, GConf2-2_19_1-5_fc8, GConf2-2_19_1-4_fc8, GConf2-2_19_1-3_fc8, GConf2-2_28_0-1_fc12, GConf2-2_19_1-1_fc8, GConf2-2_14_0-3_fc6, GConf2-2_16_0-6_fc7, GConf2-2_22_0-2_fc10, GConf2-2_27_0-1_fc12, GConf2-2_18_0_1-1_fc7, GConf2-2_21_1-2_fc9, GConf2-2_26_0-2_fc11, HEAD
File MIME type: text/x-patch
fix a lifecycle issue
1 --- GConf-2.14.0/gconf/gconfd.c.timeout 2006-09-18 12:19:24.000000000 -0400
2 +++ GConf-2.14.0/gconf/gconfd.c 2006-09-18 12:21:30.000000000 -0400
3 @@ -1151,18 +1151,20 @@
4 static gboolean
5 no_databases_in_use (void)
6 {
7 - /* Only the default database still open, and
8 - * it has no listeners
9 - */
10 + GList *l;
11
12 - if (db_list == NULL)
13 - return TRUE;
14 + for (l = db_list; l; l = l->next)
15 + {
16 + GConfDatabase *db = l->data;
17
18 - if (db_list->next == NULL &&
19 - db_list->data == default_db)
20 - return gconf_listeners_count (default_db->listeners) == 0;
21 + if (gconf_listeners_count (db->listeners) > 0)
22 + return FALSE;
23
24 - return FALSE;
25 + if (db->sync_timeout || db->sync_idle)
26 + return FALSE;
27 + }
28 +
29 + return TRUE;
30 }
31
32 void

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2