mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
Merge pull request #1549 from rkanati/wlroots
update json-c dep to 0.13
This commit is contained in:
commit
7dad5cd18c
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ datadir = get_option('datadir')
|
|||
sysconfdir = get_option('sysconfdir')
|
||||
prefix = get_option('prefix')
|
||||
|
||||
jsonc = dependency('json-c', version: '>=0.12.1')
|
||||
jsonc = dependency('json-c', version: '>=0.13')
|
||||
pcre = dependency('libpcre')
|
||||
wlroots = dependency('wlroots')
|
||||
wayland_server = dependency('wayland-server')
|
||||
|
|
|
@ -156,7 +156,7 @@ static void pretty_print_version(json_object *v) {
|
|||
static void pretty_print_clipboard(json_object *v) {
|
||||
if (success(v, true)) {
|
||||
if (json_object_is_type(v, json_type_array)) {
|
||||
for (int i = 0; i < json_object_array_length(v); ++i) {
|
||||
for (size_t i = 0; i < json_object_array_length(v); ++i) {
|
||||
json_object *o = json_object_array_get_idx(v, i);
|
||||
printf("%s\n", json_object_get_string(o));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue