~azzar1/unity/fix-trash-li-blocking

« back to all changes in this revision

Viewing changes to tests/test_main_dbus.cpp

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
                   NULL,
60
60
                   &have_name,
61
61
                   NULL);
62
 
  g_timeout_add_seconds(10, timeout_cb, &timeout_reached);
 
62
  g_timeout_add(10000, timeout_cb, &timeout_reached);
63
63
 
64
64
  while (!have_name && !timeout_reached)
65
65
    g_main_context_iteration(g_main_context_get_thread_default(), TRUE);