GVariantBuilder: loosen assertion check

Don't check that a GVariantBuilder is fully-valid for use when
performing refcounting operations, as these operations may be occuring
after the builder has already been cleared.
This commit is contained in:
Ryan Lortie 2010-03-03 11:36:52 -05:00
parent 9a886135c8
commit 560f518743

View File

@ -2348,8 +2348,7 @@ struct heap_builder
#define GVHB_MAGIC ((gsize) 3087242682u)
#define is_valid_builder(b) (b != NULL && \
GVSB(b)->magic == GVSB_MAGIC)
#define is_valid_heap_builder(b) (GVHB(b)->magic == GVHB_MAGIC && \
is_valid_builder(b))
#define is_valid_heap_builder(b) (GVHB(b)->magic == GVHB_MAGIC)
/**
* g_variant_builder_new: