aboutsummaryrefslogtreecommitdiff
path: root/src/users-service.c
diff options
context:
space:
mode:
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)