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

ib subversion at mplayerhq.hu
Thu Jun 20 12:42:16 EEST 2024


Author: ib
Date: Thu Jun 20 12:42:16 2024
New Revision: 38593

Log:
Set the CBTVDigital button only if CONFIG_TV is configured.

Without CONFIG_TV, disable it.

Modified:
   trunk/gui/dialog/preferences.c

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Thu Jun 20 12:37:04 2024	(r38592)
+++ trunk/gui/dialog/preferences.c	Thu Jun 20 12:42:16 2024	(r38593)
@@ -1482,8 +1482,9 @@ void ShowPreferences( void )
    gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBPlayBar ),0 );
    gtk_widget_set_sensitive( CBPlayBar,FALSE );
   }
+#ifdef CONFIG_TV
  gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBTVDigital ),gui_tv_digital );
-#ifndef CONFIG_TV
+#else
    gtk_widget_set_sensitive( CBTVDigital,FALSE );
 #endif
  gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBNoIdle ),!player_idle_mode );


More information about the MPlayer-cvslog mailing list