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
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user