[gimp] app: fix gimp_prop_spin_scale_new() by setting the pspec on the right object



commit e84a0eebf96660214b479e3441d6c21c0345810a
Author: Michael Natterer <mitch gimp org>
Date:   Mon Nov 1 20:54:43 2010 +0100

    app: fix gimp_prop_spin_scale_new() by setting the pspec on the right object

 app/widgets/gimppropwidgets.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimppropwidgets.c b/app/widgets/gimppropwidgets.c
index 0e56926..0cb3a25 100644
--- a/app/widgets/gimppropwidgets.c
+++ b/app/widgets/gimppropwidgets.c
@@ -495,7 +495,7 @@ gimp_prop_spin_scale_new (GObject     *config,
 
   scale = gimp_spin_scale_new (GTK_ADJUSTMENT (adjustment), label, digits);
 
-  set_param_spec (G_OBJECT (scale), scale, param_spec);
+  set_param_spec (G_OBJECT (adjustment), scale, param_spec);
 
   g_signal_connect (adjustment, "value-changed",
                     G_CALLBACK (gimp_prop_spin_scale_callback),



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