comparison gui/mplayer/gtk/opts.c @ 27343:5fe6a8adf569

Rename two GUI-related preprocessor directives: HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2
author diego
date Wed, 30 Jul 2008 13:44:59 +0000
parents e7c989f7a7c9
children d788e177a35e
comparison
equal deleted inserted replaced
27342:3a174cb28d36 27343:5fe6a8adf569
780 if ( !strncmp( ao_driver[0],"oss",3 ) || 780 if ( !strncmp( ao_driver[0],"oss",3 ) ||
781 !strncmp( ao_driver[0],"alsa",4 ) || 781 !strncmp( ao_driver[0],"alsa",4 ) ||
782 !strncmp( ao_driver[0],"esd",3 ) || 782 !strncmp( ao_driver[0],"esd",3 ) ||
783 !strncmp( ao_driver[0],"sdl",3 ) ) 783 !strncmp( ao_driver[0],"sdl",3 ) )
784 gtk_widget_set_sensitive( AConfig,TRUE ); 784 gtk_widget_set_sensitive( AConfig,TRUE );
785 #ifndef HAVE_GTK2_GUI 785 #ifndef CONFIG_GTK2
786 if ( !strncmp( ao_driver[0],"arts",4 ) ) 786 if ( !strncmp( ao_driver[0],"arts",4 ) )
787 gtkMessageBox(GTK_MB_WARNING|GTK_MB_SIMPLE, MSGTR_PREFERENCES_ArtsBroken); 787 gtkMessageBox(GTK_MB_WARNING|GTK_MB_SIMPLE, MSGTR_PREFERENCES_ArtsBroken);
788 #endif 788 #endif
789 break; 789 break;
790 case 1: // video driver 790 case 1: // video driver