Author: bonefish Date: 2010-11-19 22:53:25 +0100 (Fri, 19 Nov 2010) New Revision: 39526 Changeset: http://dev.haiku-os.org/changeset/39526 Modified: haiku/trunk/headers/os/interface/Layout.h haiku/trunk/src/kits/interface/Layout.cpp Log: Also made LayoutContext() const. Modified: haiku/trunk/headers/os/interface/Layout.h =================================================================== --- haiku/trunk/headers/os/interface/Layout.h 2010-11-19 21:26:54 UTC (rev 39525) +++ haiku/trunk/headers/os/interface/Layout.h 2010-11-19 21:53:25 UTC (rev 39526) @@ -57,7 +57,7 @@ void LayoutItems(bool force = false); BRect LayoutArea(); - BLayoutContext* LayoutContext(); + BLayoutContext* LayoutContext() const; // Archiving methods Modified: haiku/trunk/src/kits/interface/Layout.cpp =================================================================== --- haiku/trunk/src/kits/interface/Layout.cpp 2010-11-19 21:26:54 UTC (rev 39525) +++ haiku/trunk/src/kits/interface/Layout.cpp 2010-11-19 21:53:25 UTC (rev 39526) @@ -558,7 +558,7 @@ BLayoutContext* -BLayout::LayoutContext() +BLayout::LayoutContext() const { return fContext; }