[gtk+] gtkapplication: fix inhibit



commit ced939fc111b8bbee8db3e1a85aa6232618d55e0
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Dec 16 14:37:44 2013 -0500

    gtkapplication: fix inhibit
    
    The big refactor contained a small mistake that broke inhibiting.  Fix it.

 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 667d2ca..9fb79f4 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),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]