~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to tests/backend-dbus/mock-accounts.cc

  • Committer: Charles Kerr
  • Date: 2013-06-25 06:07:36 UTC
  • mto: This revision was merged to the branch mainline in revision 399.
  • Revision ID: charles.kerr@canonical.com-20130625060736-xc97438x9o7upy2z
in tests-users, fix 3 more tests: RealnameChanged, LogInLogOut, ActivateSession

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
 
108
108
  i = 0;
109
109
  paths = g_new0 (const char*, users.size() + 1);
110
 
  for (users_t::iterator it(users.begin()),
111
 
                        end(users.end()); it!=end; ++it)
112
 
   paths[i++] = (*it)->path();
 
110
  for (auto it : users)
 
111
    paths[i++] = it->path();
113
112
  accounts_complete_list_cached_users (a, invocation, paths);
114
113
  g_free (paths);
115
114