Skip to content
  • Emmanuele Bassi's avatar
    Add fallback string for empty inhibit reason · 0933ea63
    Emmanuele Bassi authored
    The public gtk_application_inhibit() API allows a NULL reason argument,
    and we have a fallback in place when going through the session manager
    proxy; when using the inhibit D-Bus API directly, though, we're just
    passing a potentially NULL value to g_variant_new_string(), which will
    rightfully complain.
    0933ea63