[MPlayer-cvslog] r38541 - trunk/gui/dialog/about.c
ib
subversion at mplayerhq.hu
Sat May 18 21:24:26 EEST 2024
Author: ib
Date: Sat May 18 21:24:26 2024
New Revision: 38541
Log:
Do not call gtk_widget_show() if the About dialog already exists.
This is only necessary after creating it.
Modified:
trunk/gui/dialog/about.c
Modified: trunk/gui/dialog/about.c
==============================================================================
--- trunk/gui/dialog/about.c Fri May 17 21:12:01 2024 (r38540)
+++ trunk/gui/dialog/about.c Sat May 18 21:24:26 2024 (r38541)
@@ -346,6 +346,9 @@ static GtkWidget * CreateAbout( void )
void ShowAbout( void )
{
if ( About ) gtkRaise( About );
- else About=CreateAbout();
- gtk_widget_show( About );
+ else
+ {
+ About = CreateAbout();
+ gtk_widget_show(About);
+ }
}
More information about the MPlayer-cvslog
mailing list