~unity-team/unity/libunity-7.0-breakage

« back to all changes in this revision

Viewing changes to dash/LensBar.cpp

  • Committer: Tim Penhey
  • Date: 2012-10-29 09:34:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2867.
  • Revision ID: tim.penhey@canonical.com-20121029093454-4fjg18nf9u33r2u3
Use the new logging declarations to avoid static initialization of the logger objects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
{
27
27
namespace dash
28
28
{
 
29
DECLARE_LOGGER(logger, "unity.dash.lensbar");
29
30
namespace
30
31
{
31
 
 
32
 
nux::logging::Logger logger("unity.dash.lensbar");
33
 
 
34
32
// according to Q design the inner area of the lensbar should be 40px
35
33
// (without any borders)
36
34
const int LENSBAR_HEIGHT = 41;