diff gui/dialog/preferences.c @ 36280:e160aade4b6d

Remove unnecessary type conversions.
author ib
date Tue, 30 Jul 2013 11:54:04 +0000
parents 26e1408891f8
children 872298702c15
line wrap: on
line diff
--- a/gui/dialog/preferences.c	Tue Jul 30 11:52:47 2013 +0000
+++ b/gui/dialog/preferences.c	Tue Jul 30 11:54:04 2013 +0000
@@ -1162,8 +1162,8 @@
 #ifdef CONFIG_ASS
  gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBUseASS ),gtkASS.enabled );
  gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBASSUseMargins ),gtkASS.use_margins );
- gtk_spin_button_set_value( (GtkSpinButton *)SBASSTopMargin,(gdouble)gtkASS.top_margin );
- gtk_spin_button_set_value( (GtkSpinButton *)SBASSBottomMargin,(gdouble)gtkASS.bottom_margin );
+ gtk_spin_button_set_value( (GtkSpinButton *)SBASSTopMargin,gtkASS.top_margin );
+ gtk_spin_button_set_value( (GtkSpinButton *)SBASSBottomMargin,gtkASS.bottom_margin );
 
  if ( !gtkASS.enabled )
   {