From ced939fc111b8bbee8db3e1a85aa6232618d55e0 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 16 Dec 2013 14:37:44 -0500 Subject: [PATCH] gtkapplication: fix inhibit The big refactor contained a small mistake that broke inhibiting. Fix it. --- gtk/gtkapplication-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c index 667d2cae3e..9fb79f405c 100644 --- a/gtk/gtkapplication-dbus.c +++ b/gtk/gtkapplication-dbus.c @@ -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),