[MPlayer-cvslog] r38063 - in trunk/gui/dialog: dialog.c menu.c menu.h
ib
subversion at mplayerhq.hu
Wed Apr 11 15:12:45 EEST 2018
Author: ib
Date: Wed Apr 11 15:12:44 2018
New Revision: 38063
Log:
Remove unused variables.
They serve no purpose.
Modified:
trunk/gui/dialog/dialog.c
trunk/gui/dialog/menu.c
trunk/gui/dialog/menu.h
Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c Wed Apr 11 15:05:27 2018 (r38062)
+++ trunk/gui/dialog/dialog.c Wed Apr 11 15:12:44 2018 (r38063)
@@ -317,8 +317,6 @@ void gtkShow(int type, char *param)
break;
case ivShowPopUpMenu:
- gtkPopupMenu = evNone;
- gtkPopupMenuParam = 0;
if (PopUpMenu) {
gtk_widget_hide(PopUpMenu);
Modified: trunk/gui/dialog/menu.c
==============================================================================
--- trunk/gui/dialog/menu.c Wed Apr 11 15:05:27 2018 (r38062)
+++ trunk/gui/dialog/menu.c Wed Apr 11 15:12:44 2018 (r38063)
@@ -50,13 +50,8 @@
#include "icons.h"
-int gtkPopupMenu;
-int gtkPopupMenuParam;
-
static void ActivateMenuItem( int message )
{
- gtkPopupMenu=message & 0x0000ffff;
- gtkPopupMenuParam=message >> 16;
uiEvent( message & 0x0000ffff, message >> 16 );
}
Modified: trunk/gui/dialog/menu.h
==============================================================================
--- trunk/gui/dialog/menu.h Wed Apr 11 15:05:27 2018 (r38062)
+++ trunk/gui/dialog/menu.h Wed Apr 11 15:12:44 2018 (r38063)
@@ -21,9 +21,6 @@
#include <gtk/gtk.h>
-extern int gtkPopupMenu;
-extern int gtkPopupMenuParam;
-
GtkWidget * CreatePopUpMenu( int );
#endif /* MPLAYER_GUI_MENU_H */
More information about the MPlayer-cvslog
mailing list