[gimp/gtk3-port: 35/223] app: remove obsolete (GtkObject **) casts
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 35/223] app: remove obsolete (GtkObject **) casts
- Date: Thu, 3 Nov 2011 23:37:40 +0000 (UTC)
commit d30e3a2c45f6278fa389fb2ee60bbf2dd808537f
Author: Michael Natterer <mitch gimp org>
Date: Tue Oct 19 12:11:18 2010 +0200
app: remove obsolete (GtkObject **) casts
app/display/gimpdisplayshell-scale-dialog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-scale-dialog.c b/app/display/gimpdisplayshell-scale-dialog.c
index f4c269e..41c4e97 100644
--- a/app/display/gimpdisplayshell-scale-dialog.c
+++ b/app/display/gimpdisplayshell-scale-dialog.c
@@ -163,7 +163,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
gimp_zoom_model_get_fraction (data->model, &num, &denom);
- spin = gimp_spin_button_new ((GtkObject **) &data->num_adj,
+ spin = gimp_spin_button_new (&data->num_adj,
num, 1, 256,
1, 8, 0, 1, 0);
gtk_entry_set_activates_default (GTK_ENTRY (spin), TRUE);
@@ -174,7 +174,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
- spin = gimp_spin_button_new ((GtkObject **) &data->denom_adj,
+ spin = gimp_spin_button_new (&data->denom_adj,
denom, 1, 256,
1, 8, 0, 1, 0);
gtk_entry_set_activates_default (GTK_ENTRY (spin), TRUE);
@@ -186,7 +186,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
_("Zoom:"), 0.0, 0.5,
hbox, 1, FALSE);
- spin = gimp_spin_button_new ((GtkObject **) &data->scale_adj,
+ spin = gimp_spin_button_new (&data->scale_adj,
fabs (shell->other_scale) * 100,
100.0 / 256.0, 25600.0,
10, 50, 0, 1, 2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]