aboutsummaryrefslogtreecommitdiff
path: root/src/users-service.c
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2009-09-22 16:57:01 -0500
committerCody Russell <crussell@canonical.com>2009-09-22 16:57:01 -0500
commitc4ff339c7576c83000b1a3695918d70e0124c098 (patch)
tree701ffaff23b5d40a4cb13b7b7e51e9941602830b /src/users-service.c
parent15e2e5192dce211e3d6d8f4dfa0bf1690ca3a77d (diff)
downloadayatana-indicator-session-c4ff339c7576c83000b1a3695918d70e0124c098.tar.gz
ayatana-indicator-session-c4ff339c7576c83000b1a3695918d70e0124c098.tar.bz2
ayatana-indicator-session-c4ff339c7576c83000b1a3695918d70e0124c098.zip
fix dbus fu
Diffstat (limited to 'src/users-service.c')
-rw-r--r--src/users-service.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/users-service.c b/src/users-service.c
index c7c2a53..0a98983 100644
--- a/src/users-service.c
+++ b/src/users-service.c
@@ -135,7 +135,6 @@ rebuild_items (DbusmenuMenuitem *root,
DbusmenuMenuitem *mi = NULL;
GList *u;
UserData *user;
- gchar *error;
dbusmenu_menuitem_foreach (root, remove_menu_item, NULL);
@@ -150,12 +149,6 @@ rebuild_items (DbusmenuMenuitem *root,
dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_LABEL, g_strdup_printf ("START (count is %d)", count));
dbusmenu_menuitem_child_append (root, mi);
- error = users_service_dbus_get_error (service);
-
- mi = dbusmenu_menuitem_new ();
- dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_LABEL, g_strdup_printf ("ERROR: %s", error));
- dbusmenu_menuitem_child_append (root, mi);
-
g_print ("count == %d\n", count);
if (count > 1 && count < 7)