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



commit 3dfa1ac445da632f8a442f2dfc3f4b606af4ce0f
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 ee1ce1a..4f59b4c 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]