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

ib subversion at mplayerhq.hu
Wed May 1 16:14:24 EEST 2024


Author: ib
Date: Wed May  1 16:14:24 2024
New Revision: 38500

Log:
Replace gtk_notebook_set_page() with gtk_notebook_set_current_page().

gtk_notebook_set_page() was deprecated even before GTK+ 2.0.

Modified:
   trunk/gui/dialog/preferences.c

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Wed May  1 16:13:10 2024	(r38499)
+++ trunk/gui/dialog/preferences.c	Wed May  1 16:14:24 2024	(r38500)
@@ -1193,7 +1193,7 @@ static GtkWidget * CreatePreferences( vo
   g_signal_connect( G_OBJECT( HSPPQuality ),"motion-notify-event",G_CALLBACK( on_HSPPQuality_motion_notify_event ),NULL );
 #endif
 
-  gtk_notebook_set_page( GTK_NOTEBOOK( notebook1 ),2 );
+  gtk_notebook_set_current_page( GTK_NOTEBOOK( notebook1 ),2 );
 
   gtk_window_add_accel_group( GTK_WINDOW( Preferences ),accel_group );
 


More information about the MPlayer-cvslog mailing list