[mousetweaks/at-spi2] Check dbus method call errors



commit 960e99d821f7b2b42e67d2c4f41106586772df4d
Author: Gerd Kohlberger <gerdk src gnome org>
Date:   Tue Jan 12 04:45:05 2010 +0100

    Check dbus method call errors

 src/mt-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mt-main.c b/src/mt-main.c
index 135c180..df3e1e0 100644
--- a/src/mt-main.c
+++ b/src/mt-main.c
@@ -696,7 +696,7 @@ mt_main_request_logout (MtData *mt)
      * Call the Logout method of the session manager:
      * mode: 0 = normal, 1 = no confirmation, 2 = force
      */
-    dbus_g_proxy_call (proxy, "Logout", NULL,
+    dbus_g_proxy_call (proxy, "Logout", &error,
 		       G_TYPE_UINT, 1, G_TYPE_INVALID,
 		       G_TYPE_INVALID);
     g_object_unref (proxy);



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