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



commit 8f3e3034adbcf91dd384025698de06fdb23d5146
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 e8b156c..7de65c7 100644
--- a/modules/color-selector-cmyk.c
+++ b/modules/color-selector-cmyk.c
@@ -130,9 +130,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 2abfef4..129a4b6 100644
--- a/modules/color-selector-water.c
+++ b/modules/color-selector-water.c
@@ -171,8 +171,8 @@ colorsel_water_init (ColorselWater *water)
   gtk_widget_set_extension_events (area, GDK_EXTENSION_EVENTS_ALL);
   gtk_widget_grab_focus (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]