diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2018-10-21 12:31:47 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw@src.gnome.org> | 2019-07-06 00:55:32 +0800 |
commit | 46a33a077d1519dcab558841b076e6fbac6e84d9 (patch) | |
tree | 751ce0b19f257e77737ac7b696301eb4b4e890eb /service | |
parent | 5c7b219d5bf66a6dc14c23caa4a2539904f4d0de (diff) | |
download | dconf-46a33a077d1519dcab558841b076e6fbac6e84d9.tar.gz |
build: Define GVDB_USE_WEAK_SYMBOLS to use weak bindings in gvdb
Fix linking with LLD by using weak symbols in gvdb, and update dconf
code to make it compatible with gvdb upstream changes.
Fixes https://gitlab.gnome.org/GNOME/dconf/issues/47
Diffstat (limited to 'service')
-rw-r--r-- | service/dconf-gvdb-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/dconf-gvdb-utils.c b/service/dconf-gvdb-utils.c index 93a4719..d77ae97 100644 --- a/service/dconf-gvdb-utils.c +++ b/service/dconf-gvdb-utils.c @@ -102,8 +102,8 @@ dconf_gvdb_utils_read_and_back_up_file (const gchar *filename, if (table != NULL) { gchar **names; - gint n_names; - gint i; + gsize n_names; + gsize i; names = gvdb_table_get_names (table, &n_names); for (i = 0; i < n_names; i++) |