[gimp] app: correct cast for spinbutton



commit 854dd5b6ad9f0649331325c97d8d010d1b48ffe3
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Sat Apr 16 11:52:38 2011 +0200

    app: correct cast for spinbutton

 app/widgets/gimpspinscale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpspinscale.c b/app/widgets/gimpspinscale.c
index e19ff55..64eebac 100644
--- a/app/widgets/gimpspinscale.c
+++ b/app/widgets/gimpspinscale.c
@@ -127,7 +127,7 @@ gimp_spin_scale_init (GimpSpinScale *scale)
 {
   gtk_entry_set_alignment (GTK_ENTRY (scale), 1.0);
   gtk_entry_set_has_frame (GTK_ENTRY (scale), FALSE);
-  gtk_spin_button_set_numeric (GTK_ENTRY (scale), TRUE);
+  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (scale), TRUE);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]