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

ib subversion at mplayerhq.hu
Sun Jun 9 14:39:50 EEST 2024


Author: ib
Date: Sun Jun  9 14:39:49 2024
New Revision: 38551

Log:
Do not set text in an already created audio driver 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:21:22 2024	(r38550)
+++ trunk/gui/dialog/preferences.c	Sun Jun  9 14:39:49 2024	(r38551)
@@ -1840,7 +1840,11 @@ static GtkWidget *CreateAudioConfig( voi
 }
 
 void ShowAudioConfig( void ) {
-  if (AudioConfig) gtkRaise(AudioConfig);
+  if (AudioConfig)
+  {
+    gtkSetLayer(AudioConfig);
+    return;
+  }
   else AudioConfig = CreateAudioConfig();
 
 #ifdef CONFIG_OSS_AUDIO


More information about the MPlayer-cvslog mailing list