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



commit 2227c45188fdf4238874232c2b49e273d7b00bec
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 48d677b..c209578 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 b622c4a..29683e4 100644
--- a/libgimpwidgets/gimpwidgets.h
+++ b/libgimpwidgets/gimpwidgets.h
@@ -142,7 +142,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]