core: Only depend on GLib 2.30
This commit is contained in:
1 parent
047602c56f
commit
b971ce0dfa
5 files changed
+19
-6
No files matched your search
@@ -680,8 +680,7 @@ ostree_checksum_to_bytes (const char *sha256)
|
||||
result[i] = (big << 4) | little;
|
||||
}
|
||||
|
||||
return g_variant_new_fixed_array (G_VARIANT_TYPE ("y"),
|
||||
(guchar*)result, 32, 1);
|
||||
return ot_gvariant_new_bytearray ((guchar*)result, 32);
|
||||
}
|
||||
|
||||
char *
|
||||
|
||||
@@ -1780,7 +1780,7 @@ create_index_bloom (OstreeRepo *self,
|
||||
|
||||
/* TODO - define and compute bloom filter */
|
||||
|
||||
ret_bloom = g_variant_new_fixed_array (G_VARIANT_TYPE ("y"), NULL, 0, 1);
|
||||
ret_bloom = ot_gvariant_new_bytearray (NULL, 0);
|
||||
g_variant_ref_sink (ret_bloom);
|
||||
|
||||
ret = TRUE;
|
||||
|
||||
Reference in new issue
Block a user