[gimp/gtk3-port: 4/234] libgimpwidgets: s/GtkObject/GtkAdjustment/ in gimpwidgets.[ch]



commit bf42a3fcf846a47f1dcdb960b33c94ecc1192182
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 15 10:06:09 2010 +0200

    libgimpwidgets: s/GtkObject/GtkAdjustment/ in gimpwidgets.[ch]

 libgimpwidgets/gimpwidgets.c |   18 +++++++++---------
 libgimpwidgets/gimpwidgets.h |    2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgets.c b/libgimpwidgets/gimpwidgets.c
index 3a54194..cc9894a 100644
--- a/libgimpwidgets/gimpwidgets.c
+++ b/libgimpwidgets/gimpwidgets.c
@@ -435,15 +435,15 @@ gimp_int_radio_group_set_active (GtkRadioButton *radio_button,
  * Returns: A #GtkSpinButton and its #GtkAdjustment.
  **/
 GtkWidget *
-gimp_spin_button_new (GtkObject **adjustment,  /* return value */
-                      gdouble     value,
-                      gdouble     lower,
-                      gdouble     upper,
-                      gdouble     step_increment,
-                      gdouble     page_increment,
-                      gdouble     page_size,
-                      gdouble     climb_rate,
-                      guint       digits)
+gimp_spin_button_new (GtkAdjustment **adjustment,  /* return value */
+                      gdouble         value,
+                      gdouble         lower,
+                      gdouble         upper,
+                      gdouble         step_increment,
+                      gdouble         page_increment,
+                      gdouble         page_size,
+                      gdouble         climb_rate,
+                      guint           digits)
 {
   GtkWidget *spinbutton;
 
diff --git a/libgimpwidgets/gimpwidgets.h b/libgimpwidgets/gimpwidgets.h
index f46db93..470ba7a 100644
--- a/libgimpwidgets/gimpwidgets.h
+++ b/libgimpwidgets/gimpwidgets.h
@@ -143,7 +143,7 @@ void   gimp_radio_group_set_active (GtkRadioButton     *radio_button,
 
 GIMP_DEPRECATED_FOR(gtk_spin_button_new)
 GtkWidget * gimp_spin_button_new   (/* return value: */
-                                    GtkObject         **adjustment,
+                                    GtkAdjustment     **adjustment,
 
                                     gdouble             value,
                                     gdouble             lower,


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