mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
gtk_application_inihit: allow no reason
We document this argument as nullable, so treat it as such. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1327
This commit is contained in:
parent
a4b1c6b384
commit
d7a5dcba0b
@ -631,7 +631,7 @@ gtk_application_impl_dbus_inhibit (GtkApplicationImpl *impl,
|
||||
g_variant_new ("(s@usu)",
|
||||
dbus->application_id,
|
||||
window ? gtk_application_impl_dbus_get_window_system_id (dbus, window) : g_variant_new_uint32 (0),
|
||||
reason,
|
||||
reason ? reason : "",
|
||||
flags),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
G_MAXINT,
|
||||
|
Loading…
Reference in New Issue
Block a user