~indicator-applet-developers/indicator-power/trunk.16.04

« back to all changes in this revision

Viewing changes to tests/glib-fixture.h

  • Committer: CI Train Bot
  • Author(s): Charles Kerr, charles kerr
  • Date: 2016-01-05 14:37:48 UTC
  • mfrom: (290.1.24 lp-1470767-low-battery-sound)
  • Revision ID: ci-train-bot@canonical.com-20160105143748-8vkmb6yhgz603fus
Play a 'low battery' sound when the low battery notification is shown.
 Fixes: #1470767
Approved by: Ted Gould, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
        if (expected_log[level] != n)
54
54
            for (size_t i=0; i<n; ++i)
55
 
                g_print("%d %s\n", (n+1), v[i].c_str());
 
55
                g_print("%d %s\n", int(n+1), v[i].c_str());
56
56
      }
57
57
 
58
58
      expected_log.clear();