mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
Use gtk_spin_button_get_value_as_int instead of gtk_spin_button_get_value since
it both is more correct and is available on gtk1 under the same name. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21284 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4d27dbd5c9
commit
38e9890c05
@ -545,8 +545,8 @@ void prButton( GtkButton * button,gpointer user_data )
|
||||
#ifdef USE_ASS
|
||||
gtkASS.enabled=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBUseASS ) );
|
||||
gtkASS.use_margins=gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBASSUseMargins ) );
|
||||
gtkASS.top_margin=gtk_spin_button_get_value( GTK_SPIN_BUTTON( SBASSTopMargin ) );
|
||||
gtkASS.bottom_margin=gtk_spin_button_get_value( GTK_SPIN_BUTTON( SBASSBottomMargin ) );
|
||||
gtkASS.top_margin=gtk_spin_button_get_value_as_int( GTK_SPIN_BUTTON( SBASSTopMargin ) );
|
||||
gtkASS.bottom_margin=gtk_spin_button_get_value_as_int( GTK_SPIN_BUTTON( SBASSBottomMargin ) );
|
||||
#endif
|
||||
sub_delay=HSSubDelayadj->value;
|
||||
sub_fps=HSSubFPSadj->value;
|
||||
|
Loading…
Reference in New Issue
Block a user