[gtk+/gtk-3-12] gtkapplication: Fix incorrect value passed to g_variant_new()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-12] gtkapplication: Fix incorrect value passed to g_variant_new()
- Date: Fri, 18 Apr 2014 08:48:27 +0000 (UTC)
commit 391573ad2c63ca7f54d7b5aff94cc8fa3db0ad5a
Author: Bastien Nocera <hadess hadess net>
Date: Mon Apr 14 16:40:20 2014 +0200
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
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 b0dab70..09afcfa 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]