diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 07:09:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 07:09:19 +0800 |
commit | 8771a6de3590d468d1a2c3cfab34955c624f614a (patch) | |
tree | dc23ed6ab0533bc9f241976f33b6c6cc2d7ee117 /e-util/e-dialog-widgets.c | |
parent | 69a1e923a71ee881721e21b991de08b897f9e7b0 (diff) | |
download | gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.gz gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.tar.zst gsoc2013-evolution-8771a6de3590d468d1a2c3cfab34955c624f614a.zip |
More code cleanup.
Diffstat (limited to 'e-util/e-dialog-widgets.c')
-rw-r--r-- | e-util/e-dialog-widgets.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-dialog-widgets.c b/e-util/e-dialog-widgets.c index ae53a17ca7..afa680d11b 100644 --- a/e-util/e-dialog-widgets.c +++ b/e-util/e-dialog-widgets.c @@ -79,7 +79,7 @@ get_dialog_hooks (GtkWidget *dialog) /* Converts an mapped value to the appropriate index in an item group. The * values for the items are provided as a -1-terminated array. */ -static int +static gint value_to_index (const gint *value_map, gint value) { gint i; @@ -94,7 +94,7 @@ value_to_index (const gint *value_map, gint value) /* Converts an index in an item group to the appropriate mapped value. See the * function above. */ -static int +static gint index_to_value (const gint *value_map, gint index) { gint i; @@ -408,7 +408,7 @@ e_dialog_spin_set (GtkWidget *widget, double value) * * Return value: Numeric value. **/ -double +gdouble e_dialog_spin_get_double (GtkWidget *widget) { GtkAdjustment *adj; @@ -437,7 +437,7 @@ e_dialog_spin_get_int (GtkWidget *widget) g_return_val_if_fail (GTK_IS_SPIN_BUTTON (widget), -1); value = e_dialog_spin_get_double (widget); - return (int) floor (value); + return (gint) floor (value); } /** |