summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication-dbus.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-04-14 16:40:20 +0200
committerBastien Nocera <hadess@hadess.net>2014-04-14 20:27:45 +0200
commit80993ea47ac4af5e9ff6cb6c330ca30781ddeac1 (patch)
treebbb77f911de4c33a85c40181cdc11d93efe419ea /gtk/gtkapplication-dbus.c
parentb0a0b7ebe7a1ee87cd05ef0600edd5c5200a72cd (diff)
downloadgtk+-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.c2
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,