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:
Bastien Nocera
2014-04-14 16:40:20 +02:00
parent b0a0b7ebe7
commit 80993ea47a

View File

@ -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,