diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-07-07 19:35:54 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 21:49:42 +0300 |
commit | 87366694d82c8d4c7f0bc210e6baa0ccd651d0c2 (patch) | |
tree | 57c6a283eed4934c6041658effab17435ef2ff1c /mp_msg.c | |
parent | a2037a2effbd4622d0e8336245a9b14c3f886bde (diff) | |
download | mpv-87366694d82c8d4c7f0bc210e6baa0ccd651d0c2.tar.bz2 mpv-87366694d82c8d4c7f0bc210e6baa0ccd651d0c2.tar.xz |
Remove the internal GUI
The GUI is badly designed and too closely coupled to the internal
details of other code. The GUI code is in bad shape and unmaintained
for years. There is no indication that anyone would maintain it in the
future either. Even if someone did volunteer to implement a better
integrated GUI having the current code in the tree probably wouldn't
help much. So get rid of it.
Diffstat (limited to 'mp_msg.c')
-rw-r--r-- | mp_msg.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -18,14 +18,6 @@ char* get_term_charset(void); #endif -#if defined(FOR_MENCODER) -#undef CONFIG_GUI -int use_gui; -#endif - -#ifdef CONFIG_GUI -#include "gui/interface.h" -#endif #include "mp_msg.h" /* maximum message length of mp_msg */ @@ -186,11 +178,6 @@ void mp_msg(int mod, int lev, const char *format, ... ){ tmp[MSGSIZE_MAX-2] = '\n'; tmp[MSGSIZE_MAX-1] = 0; -#ifdef CONFIG_GUI - if(use_gui) - guiMessageBox(lev, tmp); -#endif - #if defined(CONFIG_ICONV) && defined(MSG_CHARSET) if (mp_msg_charset && strcasecmp(mp_msg_charset, "noconv")) { char tmp2[MSGSIZE_MAX]; |