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



commit 5b610a6a0e922b92b56c860d94b9dfcac0ac0343
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 |   30 +++++++++++++++---------------
 libgimpwidgets/gimpwidgets.h |    2 +-
 2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgets.c b/libgimpwidgets/gimpwidgets.c
index 35b6bee..3043065 100644
--- a/libgimpwidgets/gimpwidgets.c
+++ b/libgimpwidgets/gimpwidgets.c
@@ -433,15 +433,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;
 
@@ -489,11 +489,11 @@ GtkWidget *
 gimp_random_seed_new (guint    *seed,
                       gboolean *random_seed)
 {
-  GtkWidget *hbox;
-  GtkWidget *toggle;
-  GtkWidget *spinbutton;
-  GtkObject *adj;
-  GtkWidget *button;
+  GtkWidget     *hbox;
+  GtkWidget     *toggle;
+  GtkWidget     *spinbutton;
+  GtkAdjustment *adj;
+  GtkWidget     *button;
 
   g_return_val_if_fail (seed != NULL, NULL);
   g_return_val_if_fail (random_seed != NULL, NULL);
@@ -731,7 +731,7 @@ gimp_coordinates_new (GimpUnit         unit,
                       gdouble          ysize_100  /* % */)
 {
   GimpCoordinatesData *data;
-  GtkObject           *adjustment;
+  GtkAdjustment       *adjustment;
   GtkWidget           *spinbutton;
   GtkWidget           *sizeentry;
   GtkWidget           *chainbutton;
diff --git a/libgimpwidgets/gimpwidgets.h b/libgimpwidgets/gimpwidgets.h
index 70e3952..3b004a0 100644
--- a/libgimpwidgets/gimpwidgets.h
+++ b/libgimpwidgets/gimpwidgets.h
@@ -139,7 +139,7 @@ void   gimp_radio_group_set_active (GtkRadioButton     *radio_button,
 
 
 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]