aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-07-01 12:54:52 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-07-01 12:54:52 -0500
commit73a9ac42d15b01c6807eb5bdaee0c24431e7e539 (patch)
treef91a3f92776b5f1753e4e63fbb81036a10e30e1d
parent0b5f283691222c23599ab460bb5dad7a78378aa8 (diff)
downloadayatana-indicator-session-73a9ac42d15b01c6807eb5bdaee0c24431e7e539.tar.gz
ayatana-indicator-session-73a9ac42d15b01c6807eb5bdaee0c24431e7e539.tar.bz2
ayatana-indicator-session-73a9ac42d15b01c6807eb5bdaee0c24431e7e539.zip
in src/backend-dbus/guest.c's on_login1_manager_session_list_ready(), remove unused variable 'path'
-rw-r--r--src/backend-dbus/guest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend-dbus/guest.c b/src/backend-dbus/guest.c
index 963bdc8..3269097 100644
--- a/src/backend-dbus/guest.c
+++ b/src/backend-dbus/guest.c
@@ -119,15 +119,14 @@ on_login1_manager_session_list_ready (GObject * o,
guint32 uid = 0;
const gchar * user_name = NULL;
const gchar * seat_id = NULL;
- const gchar * path = NULL;
GVariantIter iter;
g_variant_iter_init (&iter, sessions);
- while (g_variant_iter_loop (&iter, "(&su&s&s&o)", &session_id,
+ while (g_variant_iter_loop (&iter, "(&su&s&so)", &session_id,
&uid,
&user_name,
&seat_id,
- &path))
+ NULL))
{
gboolean is_current_session;
gboolean is_guest;