From a5367ba2cce921e4e460cd24b9172a2f9ab98271 Mon Sep 17 00:00:00 2001 From: Jiwoong Im Date: Thu, 23 Feb 2017 18:57:17 +0900 Subject: [PATCH] Change priority of idler which calls vconf changed callback - If client is too busy to call vconf changed callback in idler, vconf changed callback is ignored. To guarantee call of vconf changed callback, change priority of idler to G_PRIORITY_HIGH. Change-Id: Ic05bc06734fd674f0ffbc81809acabc11675f604 Signed-off-by: Jiwoong Im --- vconf-compat/vconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vconf-compat/vconf.c b/vconf-compat/vconf.c index 5fd6fa8..5385e9c 100644 --- a/vconf-compat/vconf.c +++ b/vconf-compat/vconf.c @@ -444,7 +444,7 @@ static void notify_cb(const struct buxton_layer *layer, const char *key, node->keyname = strdup(key); to_vconf_t(val, node); - g_idle_add(call_noti_cb, node); + g_idle_add_full(G_PRIORITY_HIGH, call_noti_cb, node, NULL); } static struct noti_cb *find_noti_cb(struct noti *noti, vconf_callback_fn cb) -- 2.7.4