Commit 80993ea4 authored by Bastien Nocera's avatar Bastien Nocera

gtkapplication: Fix incorrect value passed to g_variant_new()

The code expected to format @u, not u.

https://bugzilla.gnome.org/show_bug.cgi?id=728140
parent b0a0b7eb
......@@ -339,7 +339,7 @@ gtk_application_impl_dbus_inhibit (GtkApplicationImpl *impl,
"Inhibit",
g_variant_new ("(s@usu)",
dbus->app_id,
window ? gtk_application_impl_dbus_get_window_system_id (dbus, window) : 0,
window ? gtk_application_impl_dbus_get_window_system_id (dbus, window) : g_variant_new_uint32 (0),
reason,
flags),
G_DBUS_CALL_FLAGS_NONE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment