GVariant: refactor locking a bit more
authorRyan Lortie <desrt@desrt.ca>
Sat, 29 Nov 2014 20:04:45 +0000 (15:04 -0500)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:42 +0000 (11:47 +0200)
commit3fffe57c99c05c68312494adc640b8f46e16a7cd
treef7356dbe79c2b2781b21bfa2b35fb79570727ffd
parent11a21a2a1c2b2d7e0ea1339a8596a2e05c55dfe3
GVariant: refactor locking a bit more

Change the internal g_variant_ensure_serialised() helper over to working
on unlocked instances and have it conditionally acquire the lock using
the utility function added in the last commit.
glib/gvariant-core.c