Initially I just wanted to get rid of g_variant_unref() calls by reusing the newly added wxGtkVariant helper but I also noticed that seems like a memory leak while doing it, so I've fixed it (I think?) too. And then I also cleaned up UTF-8 conversions a bit.
@swt2c Please let me know if you see anything wrong here.
Initially I just wanted to get rid of
g_variant_unref()
calls by reusing the newly addedwxGtkVariant
helper but I also noticed that seems like a memory leak while doing it, so I've fixed it (I think?) too. And then I also cleaned up UTF-8 conversions a bit.@swt2c Please let me know if you see anything wrong here.