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

skins2: remove dead code

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