summaryrefslogtreecommitdiffstats
path: root/mp_msg.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 /mp_msg.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 'mp_msg.c')
-rw-r--r--mp_msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 9eb63e4894..2f9f32c098 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -12,11 +12,11 @@ extern char* get_term_charset(void);
#endif
#if defined(FOR_MENCODER)
-#undef HAVE_NEW_GUI
+#undef CONFIG_GUI
int use_gui;
#endif
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
#include "gui/interface.h"
#endif
#include "mp_msg.h"
@@ -179,7 +179,7 @@ void mp_msg(int mod, int lev, const char *format, ... ){
tmp[MSGSIZE_MAX-2] = '\n';
tmp[MSGSIZE_MAX-1] = 0;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if(use_gui)
guiMessageBox(lev, tmp);
#endif