[MPlayer-cvslog] r38552 - trunk/gui/dialog/preferences.c

ib subversion at mplayerhq.hu
Sun Jun 9 14:41:44 EEST 2024


Author: ib
Date: Sun Jun  9 14:41:44 2024
New Revision: 38552

Log:
Do not set text in an already created DXR3 configuration dialog.

This may only be done once, when the dialog is created.

Modified:
   trunk/gui/dialog/preferences.c

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Sun Jun  9 14:39:49 2024	(r38551)
+++ trunk/gui/dialog/preferences.c	Sun Jun  9 14:41:44 2024	(r38552)
@@ -1888,7 +1888,11 @@ GtkWidget * CreateDXR3Config( void );
 
 void ShowDXR3Config( void )
 {
- if ( DXR3Config ) gtkRaise( DXR3Config );
+ if (DXR3Config)
+ {
+   gtkSetLayer(DXR3Config);
+   return;
+ }
   else DXR3Config=CreateDXR3Config();
 
  gtk_entry_set_text(gtkEntry(CBDXR3Device), gtkDXR3Device);


More information about the MPlayer-cvslog mailing list