Skip to content

Add fallback string for empty inhibit reason

Emmanuele Bassi requested to merge ebassi/inhibit-reason-fallback into main

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.

Merge request reports