[gnome-panel] panel: Fix panel_session_manager_get_presence()



commit d7f1871f2a4d7fbc927662e3aeab739261132e2f
Author: Vincent Untz <vuntz gnome org>
Date:   Thu Mar 31 16:28:07 2011 +0530

    panel: Fix panel_session_manager_get_presence()
    
    D-Bus signature was wrong.

 gnome-panel/libpanel-util/panel-session-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/panel-session-manager.c b/gnome-panel/libpanel-util/panel-session-manager.c
index a35a73b..78fbaf2 100644
--- a/gnome-panel/libpanel-util/panel-session-manager.c
+++ b/gnome-panel/libpanel-util/panel-session-manager.c
@@ -179,7 +179,7 @@ panel_session_manager_get_presence (PanelSessionManager *manager)
 
         variant = g_dbus_proxy_get_cached_property (manager->priv->presence_proxy,
                                                     "status");
-        g_variant_get (variant, "(u)", &ret);
+        g_variant_get (variant, "u", &ret);
         g_variant_unref (variant);
 
         return ret;



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