18 May
2024
18 May
'24
6:24 p.m.
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); + } }
871
Age (days ago)
871
Last active (days ago)
0 comments
1 participants
participants (1)
-
ib