From 4e2c7e2167a0e0efbfc73c1b226eaafa808736ee Mon Sep 17 00:00:00 2001
From: Mathias Gumz <akira at fluxbox dot org>
Date: Fri, 10 Sep 2010 16:36:17 +0200
Subject: moved helper struct TextPropPtr into anonymous namespace

---
 src/FbTk/FbWindow.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index e098e11..5b52a03 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -469,6 +469,8 @@ void FbWindow::reparent(const FbWindow &parent, int x, int y, bool continuing) {
     if (continuing) // we will continue managing this window after reparent
         updateGeometry();
 }
+
+namespace {
 struct TextPropPtr {
     TextPropPtr(XTextProperty& prop):m_prop(prop) {}
     ~TextPropPtr() {
@@ -479,6 +481,8 @@ struct TextPropPtr {
     }
     XTextProperty& m_prop;
 };
+}
+
 std::string FbWindow::textProperty(Atom property) const {
     XTextProperty text_prop;
     TextPropPtr helper(text_prop);
-- 
cgit v0.11.2