diff options
author | Andre Miranda <andreldm@xfce.org> | 2019-04-15 23:48:49 -0300 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2019-04-15 23:48:49 -0300 |
commit | bd2b1e4980439cf7a2b06c0075311bd7262c90cb (patch) | |
tree | 06a0f293ff19ea0030a402e4975f3956c10cd105 /xfconf | |
parent | 255db425a00c5557079aeebc69da5d710e3a9f5c (diff) | |
download | xfconf-bd2b1e4980439cf7a2b06c0075311bd7262c90cb.tar.gz |
Fix compiler error -Wcast-function-type (GCC 8)
Diffstat (limited to 'xfconf')
-rw-r--r-- | xfconf/xfconf-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c index 8a90150..d74f05e 100644 --- a/xfconf/xfconf-cache.c +++ b/xfconf/xfconf-cache.c @@ -390,7 +390,7 @@ xfconf_cache_init(XfconfCache *cache) cache->g_signal_id = g_signal_connect(gproxy, "g-signal", G_CALLBACK(xfconf_cache_proxy_signal_received_cb), cache); - cache->properties = g_tree_new_full((GCompareDataFunc)strcmp, NULL, + cache->properties = g_tree_new_full((GCompareDataFunc) (void (*)(void)) strcmp, NULL, (GDestroyNotify)g_free, (GDestroyNotify)xfconf_cache_item_free); |