GNOME Bugzilla – Bug 698457
g_variant_get_data_as_bytes() always returns toplevel bytes for serialized variants
Last modified: 2013-04-20 23:25:40 UTC
Calling g_variant_get_data_as_bytes on a child of an already-serialized variant returns the data of the parent variant instead of that of the child.
Created attachment 242009 [details] [review] g_variant_get_data_as_bytes: return a sub-bytes if necessary
Attachment 242009 [details] pushed as ac1379e - g_variant_get_data_as_bytes: return a sub-bytes if necessary This fixed a failure I was hitting when testing my GdkPixbuf serialize() implementation for GIcon. Looks good, so pushed. Thanks for the test!