[Mplayer-cvslog] CVS: main/Gui/mplayer mw.h,1.44,1.45 widgets.c,1.17,1.18
Zoltan Ponekker
pontscho at mplayer.dev.hu
Wed Mar 6 19:42:59 CET 2002
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv23559/Gui/mplayer
Modified Files:
mw.h widgets.c
Log Message:
bazmeg a playtree - t
Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- mw.h 25 Feb 2002 13:14:27 -0000 1.44
+++ mw.h 6 Mar 2002 18:42:56 -0000 1.45
@@ -559,7 +559,7 @@
void mplMainKeyHandle( int State,int Type,int Key )
{
int msg = evNone;
-// return;
+
if ( Type != wsKeyPressed ) return;
switch ( Key )
{
Index: widgets.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- widgets.c 23 Feb 2002 15:12:53 -0000 1.17
+++ widgets.c 6 Mar 2002 18:42:56 -0000 1.18
@@ -31,7 +31,7 @@
GtkWidget * FileSelect;
GtkWidget * AboutBox;
GtkWidget * Options;
-GtkWidget * PopUpMenu;
+GtkWidget * PopUpMenu = NULL;
GtkWidget * MessageBox;
@@ -165,12 +165,12 @@
case evShowPopUpMenu:
gtkPopupMenu=evNone;
gtkPopupMenuParam=0;
- gtk_widget_hide_on_delete( PopUpMenu );
+ if ( PopUpMenu ) gtk_widget_hide_on_delete( PopUpMenu );
PopUpMenu=create_PopUpMenu();
gtk_menu_popup( GTK_MENU( PopUpMenu ),NULL,NULL,NULL,NULL,0,0 );
break;
case evHidePopUpMenu:
- gtk_widget_hide_on_delete( PopUpMenu );
+ if ( PopUpMenu ) gtk_widget_hide_on_delete( PopUpMenu );
break;
}
}
More information about the MPlayer-cvslog
mailing list