[gimp/gtk3-port: 10/237] libgimpwidgets: s/GtkObject/GtkAdjustment/



commit e6074b3b84b8c424ec1cc29bbb53916e23f1b3a2
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 15 11:14:38 2010 +0200

    libgimpwidgets: s/GtkObject/GtkAdjustment/

 libgimpwidgets/gimpcolorscales.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimpcolorscales.c b/libgimpwidgets/gimpcolorscales.c
index 751a5e5..d98664d 100644
--- a/libgimpwidgets/gimpcolorscales.c
+++ b/libgimpwidgets/gimpcolorscales.c
@@ -65,7 +65,7 @@ struct _GimpColorScales
 
   GtkWidget         *toggles[7];
   GtkWidget         *sliders[7];
-  GtkObject         *slider_data[7];
+  GtkAdjustment     *slider_data[7];
 };
 
 struct _GimpColorScalesClass
@@ -345,7 +345,7 @@ gimp_color_scales_scale_update (GtkAdjustment   *adjustment,
   gint               i;
 
   for (i = 0; i < 7; i++)
-    if (scales->slider_data[i] == GTK_OBJECT (adjustment))
+    if (scales->slider_data[i] == adjustment)
       break;
 
   switch (i)



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