Revert "Update vconf cache in notify_cb" 55/119855/1
authorJiwoong Im <jiwoong.im@samsung.com>
Mon, 20 Mar 2017 02:18:27 +0000 (11:18 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Mon, 20 Mar 2017 09:33:54 +0000 (18:33 +0900)
This reverts commit 49ad9fca0a58811426d4a96424794e577f94bb7d.

Change-Id: Ibc96fc1924fbfb1881f5905a6432ae325626d7df
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
vconf-compat/vconf.c

index 317087c..41b9872 100644 (file)
@@ -406,11 +406,6 @@ static void notify_cb(const struct buxton_layer *layer, const char *key,
        node->keyname = strdup(key);
        to_vconf_t(val, node);
 
-       if (g_hash_table_contains(cache_tbl, key)) {
-               g_hash_table_replace(cache_tbl,
-                               strdup(key), buxton_value_duplicate(val));
-       }
-
        g_idle_add_full(G_PRIORITY_HIGH, call_noti_cb, node, NULL);
 }