summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-26 21:21:27 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-26 21:21:27 +0000
commit38e9890c053071bb372a5feb08145c520842ecfd (patch)
treed38ddf6c5b24355853bad7901ad9f7cd24113aac /Gui
parent4d27dbd5c957246ec52b59f93e34830bd8b00466 (diff)
downloadmpv-38e9890c053071bb372a5feb08145c520842ecfd.tar.bz2
mpv-38e9890c053071bb372a5feb08145c520842ecfd.tar.xz
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
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/gtk/opts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/mplayer/gtk/opts.c b/Gui/mplayer/gtk/opts.c
index f7909be4d6..3c5c4b2191 100644
--- a/Gui/mplayer/gtk/opts.c
+++ b/Gui/mplayer/gtk/opts.c
@@ -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;