-
Philip Withnall authored
If no callback is provided, token is never set, but it’s then passed to g_variant_new_string(), which requires a non-NULL input. Fix that by moving all the option handling inside the (callback != NULL) case. Spotted by Coverity (CID #1378714). Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=785817
05abc6cf