gtkapplication: fix inhibit

The big refactor contained a small mistake that broke inhibiting.  Fix it.
This commit is contained in:
Ryan Lortie 2013-12-16 14:37:44 -05:00
parent 32c9d820c6
commit ced939fc11

View File

@ -338,7 +338,7 @@ gtk_application_impl_dbus_inhibit (GtkApplicationImpl *impl,
res = g_dbus_proxy_call_sync (dbus->sm_proxy,
"Inhibit",
g_variant_new ("(s@usu)",
g_application_get_application_id (G_APPLICATION (impl->application)),
dbus->app_id,
gtk_application_impl_dbus_get_window_system_id (dbus, window),
reason,
flags),