[gimp/gtk3-port: 59/460] modules: s/GtkObject/GtkAdjustment/
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 59/460] modules: s/GtkObject/GtkAdjustment/
- Date: Sun, 20 May 2018 15:16:30 +0000 (UTC)
commit c733b793e225e20a96292f18a183b9a4cc8646c3
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 245bb06..bab61e0 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 6c3065a..475269e 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]