diff gui/dialog/preferences.c @ 36019:d2d776c8e040

Cosmetic: Rename gtkActive() gtkRaise().
author ib
date Sun, 31 Mar 2013 17:08:30 +0000
parents 5c720c434d56
children a04e8798227b
line wrap: on
line diff
--- a/gui/dialog/preferences.c	Sun Mar 31 12:42:47 2013 +0000
+++ b/gui/dialog/preferences.c	Sun Mar 31 17:08:30 2013 +0000
@@ -447,7 +447,7 @@
 	if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBShowVideoWindow ) ) )
 	 {
 	  window=wsShowWindow;
-	  gtkActive( Preferences );
+	  gtkRaise( Preferences );
 	 } else window=wsHideWindow;
 	// NOTE TO MYSELF: doesn't work with a fullscreen window
 	if ( !guiInfo.Playing ) wsWindowVisibility( &guiApp.videoWindow,window );
@@ -1097,7 +1097,7 @@
 
 void ShowPreferences( void )
 {
- if ( Preferences ) gtkActive( Preferences );
+ if ( Preferences ) gtkRaise( Preferences );
    else Preferences=CreatePreferences();
 
 /* 1st page */
@@ -1677,7 +1677,7 @@
 }
 
 void ShowAudioConfig( void ) {
-  if (AudioConfig) gtkActive(AudioConfig);
+  if (AudioConfig) gtkRaise(AudioConfig);
   else AudioConfig = CreateAudioConfig();
 
 #ifdef CONFIG_OSS_AUDIO
@@ -1723,7 +1723,7 @@
 
 void ShowDXR3Config( void )
 {
- if ( DXR3Config ) gtkActive( DXR3Config );
+ if ( DXR3Config ) gtkRaise( DXR3Config );
   else DXR3Config=CreateDXR3Config();
 
  gtk_entry_set_text( GTK_ENTRY( CEDXR3Device ),gtkDXR3Device );