[gimp/gtk3-port: 46/227] libgimpwidgets: get rid of (GtkObject **) casts
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 46/227] libgimpwidgets: get rid of (GtkObject **) casts
- Date: Mon, 21 Oct 2013 21:22:16 +0000 (UTC)
commit 59f329b7093ff77c158fcb64f382f26d77cc0332
Author: Michael Natterer <mitch gimp org>
Date: Tue Oct 19 18:41:19 2010 +0200
libgimpwidgets: get rid of (GtkObject **) casts
libgimpwidgets/gimpsizeentry.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimpsizeentry.c b/libgimpwidgets/gimpsizeentry.c
index 3b83635..b4c424d 100644
--- a/libgimpwidgets/gimpsizeentry.c
+++ b/libgimpwidgets/gimpsizeentry.c
@@ -320,7 +320,7 @@ gimp_size_entry_new (gint number_of_fields,
gsef->refval_digits : ((unit == GIMP_UNIT_PERCENT) ?
2 : GIMP_SIZE_ENTRY_DIGITS (unit)));
- gsef->value_spinbutton = gimp_spin_button_new ((GtkObject **) &gsef->value_adjustment,
+ gsef->value_spinbutton = gimp_spin_button_new (&gsef->value_adjustment,
gsef->value,
gsef->min_value,
gsef->max_value,
@@ -352,7 +352,7 @@ gimp_size_entry_new (gint number_of_fields,
if (gse->show_refval)
{
gsef->refval_spinbutton =
- gimp_spin_button_new ((GtkObject **) &gsef->refval_adjustment,
+ gimp_spin_button_new (&gsef->refval_adjustment,
gsef->refval,
gsef->min_refval, gsef->max_refval,
1.0, 10.0, 0.0, 1.0, gsef->refval_digits);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]