[gimp/gtk3-port: 45/234] libgimpwidgets: get rid of (GtkObject **) casts
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 45/234] libgimpwidgets: get rid of (GtkObject **) casts
- Date: Sun, 5 Mar 2017 17:02:58 +0000 (UTC)
commit 78d6f8e9dc5b369a80ad8edcdc43f7189ceca3fc
Author: Michael Natterer <mitch gimp org>
Date: Tue Oct 19 18:41:19 2010 +0200
libgimpwidgets: get rid of (GtkObject **) casts
libgimpwidgets/gimpsizeentry.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/libgimpwidgets/gimpsizeentry.c b/libgimpwidgets/gimpsizeentry.c
index 16443bd..797cab2 100644
--- a/libgimpwidgets/gimpsizeentry.c
+++ b/libgimpwidgets/gimpsizeentry.c
@@ -321,10 +321,10 @@ gimp_size_entry_new (gint number_of_fields,
gsef->refval_digits : ((unit == GIMP_UNIT_PERCENT) ?
2 : GIMP_SIZE_ENTRY_DIGITS (unit)));
- gsef->value_adjustment = (GtkAdjustment *)
- gtk_adjustment_new (gsef->value,
- gsef->min_value, gsef->max_value,
- 1.0, 10.0, 0.0);
+ gsef->value_adjustment = gtk_adjustment_new (gsef->value,
+ gsef->min_value,
+ gsef->max_value,
+ 1.0, 10.0, 0.0);
gsef->value_spinbutton = gtk_spin_button_new (gsef->value_adjustment,
1.0, digits);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (gsef->value_spinbutton),
@@ -354,10 +354,10 @@ gimp_size_entry_new (gint number_of_fields,
if (gse->show_refval)
{
- gsef->refval_adjustment = (GtkAdjustment *)
- gtk_adjustment_new (gsef->refval,
- gsef->min_refval, gsef->max_refval,
- 1.0, 10.0, 0.0);
+ gsef->refval_adjustment = gtk_adjustment_new (gsef->refval,
+ gsef->min_refval,
+ gsef->max_refval,
+ 1.0, 10.0, 0.0);
gsef->refval_spinbutton = gtk_spin_button_new (gsef->refval_adjustment,
1.0,
gsef->refval_digits);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]