[vlmc-devel] AbstractRenderer: Make eventWatcher() available in non-gui build

Yikai Lu git at videolan.org
Wed May 31 09:01:27 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed May 31 15:06:40 2017 +0900| [496b8e7caa1c7cb08e7f321725ed538c36929726] | committer: Yikai Lu

AbstractRenderer: Make eventWatcher() available in non-gui build

> https://code.videolan.org/videolan/vlmc/commit/496b8e7caa1c7cb08e7f321725ed538c36929726
---

 src/Renderer/AbstractRenderer.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/Renderer/AbstractRenderer.cpp b/src/Renderer/AbstractRenderer.cpp
index 91d09197..959b280e 100644
--- a/src/Renderer/AbstractRenderer.cpp
+++ b/src/Renderer/AbstractRenderer.cpp
@@ -48,13 +48,11 @@ AbstractRenderer::~AbstractRenderer()
     delete m_eventWatcher;
 }
 
-#ifdef HAVE_GUI
 RendererEventWatcher*
 AbstractRenderer::eventWatcher()
 {
     return m_eventWatcher;
 }
-#endif
 
 void
 AbstractRenderer::stop()



More information about the Vlmc-devel mailing list