[MPlayer-cvslog] r32966 - trunk/gui/skin/skin.c

ib subversion at mplayerhq.hu
Fri Feb 25 00:49:33 CET 2011


Author: ib
Date: Fri Feb 25 00:49:33 2011
New Revision: 32966

Log:
Comply with the requested verbosity on GUI message boxes.

Modified:
   trunk/gui/skin/skin.c

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Thu Feb 24 18:55:36 2011	(r32965)
+++ trunk/gui/skin/skin.c	Fri Feb 25 00:49:33 2011	(r32966)
@@ -56,8 +56,11 @@ static void ERRORMESSAGE(const char *for
     va_end(ap);
 
     mp_msg(MSGT_GPLAYER, MSGL_ERR, MSGTR_SKIN_ERRORMESSAGE, linenumber, p);
+
+    if (mp_msg_test(MSGT_GPLAYER, MSGL_ERR)) {
     snprintf(tmp, sizeof(tmp), MSGTR_SKIN_ERRORMESSAGE, linenumber, p);
     gtkMessageBox(GTK_MB_FATAL, tmp);
+    }
 }
 
 #define CHECKDEFLIST(str) \


More information about the MPlayer-cvslog mailing list