mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
disabling gtk messagebox - fixes gtk crashes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5902 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8ee92150f8
commit
ec38f5315b
4
mp_msg.c
4
mp_msg.c
@ -47,7 +47,7 @@ void mp_msg_c( int x, const char *format, ... ){
|
||||
vsnprintf(tmp, 2048, mp_gettext(format), va);
|
||||
tmp[2047] = 0;
|
||||
|
||||
#if defined(HAVE_NEW_GUI) && !defined(HAVE_MENCODER)
|
||||
#if defined(HAVE_NEW_GUI) && !defined(HAVE_MENCODER) && 0
|
||||
if(use_gui)
|
||||
{
|
||||
switch(x & 255)
|
||||
@ -76,7 +76,7 @@ void mp_msg_c( int x, const char *format, ... ){
|
||||
va_list va;
|
||||
if((x&255)>mp_msg_levels[x>>8]) return; // do not display
|
||||
va_start(va, format);
|
||||
#if defined( HAVE_NEW_GUI ) && !defined( HAVE_MENCODER )
|
||||
#if defined( HAVE_NEW_GUI ) && !defined( HAVE_MENCODER ) && 0
|
||||
if(use_gui){
|
||||
char tmp[16*80];
|
||||
vsnprintf( tmp,8*80,format,va ); tmp[8*80-1]=0;
|
||||
|
Loading…
Reference in New Issue
Block a user