[gimp/gtk3-port: 91/230] app: s/GtkObject/GtkAdjustment/ in the new spin scale prop widgets
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 91/230] app: s/GtkObject/GtkAdjustment/ in the new spin scale prop widgets
- Date: Mon, 9 Jun 2014 22:42:00 +0000 (UTC)
commit a96eee7462417cf5a507578837df8b4b5a06ba82
Author: Michael Natterer <mitch gimp org>
Date: Tue Nov 2 18:59:26 2010 +0100
app: s/GtkObject/GtkAdjustment/ in the new spin scale prop widgets
app/widgets/gimppropwidgets.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/app/widgets/gimppropwidgets.c b/app/widgets/gimppropwidgets.c
index 8635b31..2541442 100644
--- a/app/widgets/gimppropwidgets.c
+++ b/app/widgets/gimppropwidgets.c
@@ -478,12 +478,12 @@ gimp_prop_spin_scale_new (GObject *config,
gdouble page_increment,
gint digits)
{
- GParamSpec *param_spec;
- GtkObject *adjustment;
- GtkWidget *scale;
- gdouble value;
- gdouble lower;
- gdouble upper;
+ GParamSpec *param_spec;
+ GtkAdjustment *adjustment;
+ GtkWidget *scale;
+ gdouble value;
+ gdouble lower;
+ gdouble upper;
param_spec = find_param_spec (config, property_name, G_STRFUNC);
if (! param_spec)
@@ -503,7 +503,7 @@ gimp_prop_spin_scale_new (GObject *config,
adjustment = gtk_adjustment_new (value, lower, upper,
step_increment, page_increment, 0.0);
- scale = gimp_spin_scale_new (GTK_ADJUSTMENT (adjustment), label, digits);
+ scale = gimp_spin_scale_new (adjustment, label, digits);
set_param_spec (G_OBJECT (adjustment), scale, param_spec);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]