[MPlayer-cvslog] r37038 - in trunk/gui/ui: main.c playbar.c

ib subversion at mplayerhq.hu
Fri Mar 21 16:50:59 CET 2014


Author: ib
Date: Fri Mar 21 16:50:59 2014
New Revision: 37038

Log:
Remove pointless btnModify() calls.

These will be performed in the windows' draw handler
prior to rendering anyway.

Modified:
   trunk/gui/ui/main.c
   trunk/gui/ui/playbar.c

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Fri Mar 21 16:46:15 2014	(r37037)
+++ trunk/gui/ui/main.c	Fri Mar 21 16:50:59 2014	(r37038)
@@ -172,7 +172,6 @@ rollerhandled:
             if ( ( item->type == itHPotmeter )||( item->type == itVPotmeter ) )
              {
               item->value+=value;
-              btnModify( item->message,item->value );
               uiEvent( item->message,item->value );
              }
            }

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Fri Mar 21 16:46:15 2014	(r37037)
+++ trunk/gui/ui/playbar.c	Fri Mar 21 16:50:59 2014	(r37038)
@@ -197,7 +197,6 @@ rollerhandled:
           if ( ( item->type == itHPotmeter )||( item->type == itVPotmeter ) )
            {
             item->value+=value;
-            btnModify( item->message,item->value );
             uiEvent( item->message,item->value );
            }
 	 }


More information about the MPlayer-cvslog mailing list