Use g_autoptr(GVariantBuilder) instead of gs_unref_variant_builder

This commit is contained in:
Matthew Barnes committed 2015-05-06 22:07:11 -04:00
1 parent c69347b622
commit cca69b3f55
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -367,7 +367,7 @@ add_size_index_to_metadata (OstreeRepo *self,
GError **error)
{
gboolean ret = FALSE;
gs_unref_variant_builder GVariantBuilder *builder = NULL;
g_autoptr(GVariantBuilder) builder = NULL;
/* original_metadata may be NULL */
builder = ot_util_variant_builder_from_variant (original_metadata, G_VARIANT_TYPE ("a{sv}"));