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 /tests/dconf-mock-gvdb.c | |
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 'tests/dconf-mock-gvdb.c')
-rw-r--r-- | tests/dconf-mock-gvdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dconf-mock-gvdb.c b/tests/dconf-mock-gvdb.c index 4f58de1..174bd71 100644 --- a/tests/dconf-mock-gvdb.c +++ b/tests/dconf-mock-gvdb.c @@ -170,7 +170,7 @@ gvdb_table_list (GvdbTable *table, gchar ** gvdb_table_get_names (GvdbTable *table, - gint *length) + gsize *length) { if (length) *length = 0; |