summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xover.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 13:44:59 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 13:44:59 +0000
commit3b31fa5717f26ac8de703ed2681c9e42ac181e60 (patch)
treea09e8cbd7701bdd7f63158f8219263493f1d1eee /libvo/vo_xover.c
parent1fdf02e6fbd896c8fcce03992ecdf36144d85714 (diff)
downloadmpv-3b31fa5717f26ac8de703ed2681c9e42ac181e60.tar.bz2
mpv-3b31fa5717f26ac8de703ed2681c9e42ac181e60.tar.xz
Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xover.c')
-rw-r--r--libvo/vo_xover.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_xover.c b/libvo/vo_xover.c
index 98566689d6..3383eab2d3 100644
--- a/libvo/vo_xover.c
+++ b/libvo/vo_xover.c
@@ -32,7 +32,7 @@
#include "aspect.h"
#include "mp_msg.h"
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
#include "gui/interface.h"
#endif
@@ -258,7 +258,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
vo_dy += xinerama_y;
vo_dwidth=d_width; vo_dheight=d_height;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if(use_gui) guiGetEvent( guiSetShVideo,0 ); // the GUI will set up / resize the window
else
{
@@ -308,7 +308,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
if ( vo_gc != None ) XFreeGC( mDisplay,vo_gc );
vo_gc = XCreateGC(mDisplay, vo_window, GCForeground, &mGCV);
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
}
#endif