[gthumb] gth-test-simple: fixed an invalid cast



commit ff8853d5ec3764c71998d162ef07faad8d67088d
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Apr 4 11:26:41 2013 +0200

    gth-test-simple: fixed  an invalid cast

 gthumb/gth-test-simple.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-test-simple.c b/gthumb/gth-test-simple.c
index 788a0a1..330ce06 100644
--- a/gthumb/gth-test-simple.c
+++ b/gthumb/gth-test-simple.c
@@ -879,7 +879,7 @@ update_from_control_for_integer (GthTestSimple  *self,
        op_data = int_op_data[gtk_combo_box_get_active (GTK_COMBO_BOX (self->priv->text_op_combo_box))];
        self->priv->op = op_data.op;
        self->priv->negative = op_data.negative;
-       gth_test_simple_set_data_as_int (self, gtk_spin_button_get_value_as_int  (GTK_ENTRY 
(self->priv->spinbutton)));
+       gth_test_simple_set_data_as_int (self, gtk_spin_button_get_value_as_int  (GTK_SPIN_BUTTON 
(self->priv->spinbutton)));
 
        return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]