Before throwing in the towel here, I'll post the current patch I'm using on my own system. It fixes this bug, the two that are marked as duplicates (but which are actually separate bugs in the same file), and also #785828. It also fixes several other problems that don't have separate bugs filed. These unreported problems are:
* crash in menuitem.c if variant parameter is NULL
* reference leaks caused by g_variant_get_child_value
* reference leaks from g_variant_type_new
* typo bug in calling g_variant_parse without error parameter
* variant wrapped inside another variant wrapper before being passed to event callback, when it should be just passed as-is
Before throwing in the towel here, I'll post the current patch I'm using on my own system. It fixes this bug, the two that are marked as duplicates (but which are actually separate bugs in the same file), and also #785828. It also fixes several other problems that don't have separate bugs filed. These unreported problems are:
* crash in menuitem.c if variant parameter is NULL
* reference leaks caused by g_variant_ get_child_ value
* reference leaks from g_variant_type_new
* typo bug in calling g_variant_parse without error parameter
* variant wrapped inside another variant wrapper before being passed to event callback, when it should be just passed as-is