mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +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
86751c4a25
commit
8fd2d461fc
@ -630,7 +630,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