fix possible crash on weird audio streams
[enigma2.git] / lib / gui / ewindowstyle.h
index a2a9e67b65bd3d9374b48146b75a4355a6685150..5008cd6e1d73a6f76f759b8dff391318e23cafad 100644 (file)
@@ -73,7 +73,7 @@ private:
        static eWindowStyleManager *m_instance;
        std::map<int, ePtr<eWindowStyle> > m_current_style;
 };
-SWIG_TEMPLATE_TYPEDEF_REPLACE(ePtr<eWindowStyleManager>, eWindowStyleManager);
+SWIG_TEMPLATE_TYPEDEF(ePtr<eWindowStyleManager>, eWindowStyleManager);
 SWIG_EXTEND(ePtr<eWindowStyleManager>,
        static ePtr<eWindowStyleManager> getInstance()
        {
@@ -86,7 +86,6 @@ SWIG_EXTEND(ePtr<eWindowStyleManager>,
 class eWindowStyleSimple: public eWindowStyle
 {
        DECLARE_REF(eWindowStyleSimple);
-private:
        ePtr<gFont> m_fnt;
        gColor m_border_color_tl, m_border_color_br, m_title_color_back, m_title_color, m_background_color;