[MPlayer-cvslog] r38536 - in trunk/gui/dialog: dialog.c preferences.c

ib subversion at mplayerhq.hu
Fri May 17 20:45:18 EEST 2024


Author: ib
Date: Fri May 17 20:45:18 2024
New Revision: 38536

Log:
Call gtkSetLayer() for Preferences in gtkShow().

Remove it from ShowPreferences().

For all other dialogs, gtkSetLayer() is also called in gtkShow().

Modified:
   trunk/gui/dialog/dialog.c
   trunk/gui/dialog/preferences.c

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Fri May 17 20:43:36 2024	(r38535)
+++ trunk/gui/dialog/dialog.c	Fri May 17 20:45:18 2024	(r38536)
@@ -291,6 +291,7 @@ void gtkShow(int type, char *param)
 
     case evPreferences:
         ShowPreferences();
+        gtkSetLayer(Preferences);
         break;
 
     case evPlaylist:

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Fri May 17 20:43:36 2024	(r38535)
+++ trunk/gui/dialog/preferences.c	Fri May 17 20:45:18 2024	(r38536)
@@ -1529,7 +1529,6 @@ void ShowPreferences( void )
  g_signal_connect( G_OBJECT( CLVDrivers ),"select-row",G_CALLBACK( prCListRow ),GINT_TO_POINTER(1) );
 
  gtk_widget_show( Preferences );
- gtkSetLayer( Preferences );
 }
 
 #ifdef CONFIG_OSS_AUDIO


More information about the MPlayer-cvslog mailing list