Commit 7647873a authored by Erwan Tulou's avatar Erwan Tulou

skins2: remove dead code

parent d272e598
...@@ -132,9 +132,6 @@ public: ...@@ -132,9 +132,6 @@ public:
/// Delete a directory recursively /// Delete a directory recursively
virtual void rmDir( const string &rPath ) = 0; virtual void rmDir( const string &rPath ) = 0;
/// Get Display
virtual char* getDisplay() = 0;
protected: protected:
// Protected because it's a singleton // Protected because it's a singleton
OSFactory( intf_thread_t* pIntf ): SkinObject( pIntf ) { } OSFactory( intf_thread_t* pIntf ): SkinObject( pIntf ) { }
......
...@@ -46,9 +46,7 @@ VoutWindow::VoutWindow( intf_thread_t *pIntf, vout_window_t* pWnd, ...@@ -46,9 +46,7 @@ VoutWindow::VoutWindow( intf_thread_t *pIntf, vout_window_t* pWnd,
#ifdef X11_SKINS #ifdef X11_SKINS
m_pWnd->handle.xid = getOSHandle(); m_pWnd->handle.xid = getOSHandle();
if( m_pWnd->handle.xid ) m_pWnd->display.x11 = NULL;
m_pWnd->display.x11 =
OSFactory::instance( getIntf() )->getDisplay();
#else #else
m_pWnd->handle.hwnd = getOSHandle(); m_pWnd->handle.hwnd = getOSHandle();
#endif #endif
...@@ -61,10 +59,6 @@ VoutWindow::~VoutWindow() ...@@ -61,10 +59,6 @@ VoutWindow::~VoutWindow()
{ {
if( m_pWnd ) if( m_pWnd )
{ {
#ifdef X11_SKINS
free( m_pWnd->display.x11 );
m_pWnd->display.x11 = NULL;
#endif
vlc_object_release( m_pWnd ); vlc_object_release( m_pWnd );
} }
} }
......
...@@ -118,8 +118,6 @@ public: ...@@ -118,8 +118,6 @@ public:
HWND getParentWindow() { return m_hParentWindow; } HWND getParentWindow() { return m_hParentWindow; }
char* getDisplay() { return NULL; }
/// Callback function (Windows Procedure) /// Callback function (Windows Procedure)
static LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, static LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg,
WPARAM wParam, LPARAM lParam ); WPARAM wParam, LPARAM lParam );
......
...@@ -83,9 +83,6 @@ public: ...@@ -83,9 +83,6 @@ public:
/// Get the main window ID /// Get the main window ID
Window getMainWindow() const { return m_mainWindow; } Window getMainWindow() const { return m_mainWindow; }
/// Get the x11_display string (to be freed by caller)
char* getX11Display() { return NULL; }
/// EWMH spec /// EWMH spec
Atom m_net_wm_supported; Atom m_net_wm_supported;
Atom m_net_wm_state; Atom m_net_wm_state;
......
...@@ -142,9 +142,6 @@ public: ...@@ -142,9 +142,6 @@ public:
/// Get the timer loop /// Get the timer loop
X11TimerLoop *getTimerLoop() const { return m_pTimerLoop; } X11TimerLoop *getTimerLoop() const { return m_pTimerLoop; }
/// Get x11_display string (to be freed by caller)
char* getDisplay() { return m_pDisplay->getX11Display(); }
private: private:
/// X11 display /// X11 display
X11Display *m_pDisplay; X11Display *m_pDisplay;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment