diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-04-14 16:40:20 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-04-14 20:27:45 +0200 |
commit | 80993ea47ac4af5e9ff6cb6c330ca30781ddeac1 (patch) | |
tree | bbb77f911de4c33a85c40181cdc11d93efe419ea /gtk/gtkapplication-dbus.c | |
parent | b0a0b7ebe7a1ee87cd05ef0600edd5c5200a72cd (diff) | |
download | gtk+-80993ea47ac4af5e9ff6cb6c330ca30781ddeac1.tar.gz |
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
Diffstat (limited to 'gtk/gtkapplication-dbus.c')
-rw-r--r-- | gtk/gtkapplication-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c index b0dab70965..09afcfa015 100644 --- a/gtk/gtkapplication-dbus.c +++ b/gtk/gtkapplication-dbus.c @@ -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, |