[gimp/gtk3-port: 59/233] modules: s/GtkObject/GtkAdjustment/



commit e2d3703bd2117512077d6e4d8e80ac6a39de62c3
Author: Michael Natterer <mitch gimp org>
Date:   Wed Oct 20 12:17:06 2010 +0200

    modules: s/GtkObject/GtkAdjustment/

 modules/color-selector-cmyk.c  |    6 +++---
 modules/color-selector-water.c |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/modules/color-selector-cmyk.c b/modules/color-selector-cmyk.c
index e6f3c98..69531b4 100644
--- a/modules/color-selector-cmyk.c
+++ b/modules/color-selector-cmyk.c
@@ -128,9 +128,9 @@ colorsel_cmyk_class_finalize (ColorselCmykClass *klass)
 static void
 colorsel_cmyk_init (ColorselCmyk *module)
 {
-  GtkWidget *table;
-  GtkObject *adj;
-  gint       i;
+  GtkWidget     *table;
+  GtkAdjustment *adj;
+  gint           i;
 
   static const gchar * const cmyk_labels[] =
   {
diff --git a/modules/color-selector-water.c b/modules/color-selector-water.c
index ab67e14..2c7efbe 100644
--- a/modules/color-selector-water.c
+++ b/modules/color-selector-water.c
@@ -188,8 +188,8 @@ colorsel_water_init (ColorselWater *water)
   gtk_widget_set_extension_events (water->area, GDK_EXTENSION_EVENTS_ALL);
   gtk_widget_grab_focus (water->area);
 
-  adj = GTK_ADJUSTMENT (gtk_adjustment_new (200.0 - water->pressure_adjust * 100.0,
-                                            0.0, 200.0, 1.0, 1.0, 0.0));
+  adj = gtk_adjustment_new (200.0 - water->pressure_adjust * 100.0,
+                            0.0, 200.0, 1.0, 1.0, 0.0);
   g_signal_connect (adj, "value-changed",
                     G_CALLBACK (pressure_adjust_update),
                     water);


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