diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 22:32:16 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | 3078b180fe79efd0e58239dabb7098c40aced1a8 (patch) | |
tree | a4ce228bafd8df1eff46d2410554a2b2a3c0f12e /tests/testframe.c | |
parent | 556997f9df3b771733fc49a02d5424aee276e29f (diff) | |
download | gtk+-3078b180fe79efd0e58239dabb7098c40aced1a8.tar.gz |
Replace "gdouble" with "double"
Diffstat (limited to 'tests/testframe.c')
-rw-r--r-- | tests/testframe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testframe.c b/tests/testframe.c index 5a47758242..d2345b7dd5 100644 --- a/tests/testframe.c +++ b/tests/testframe.c @@ -23,8 +23,8 @@ #define EPSILON 1e-10 -static gdouble -double_normalize (gdouble n) +static double +double_normalize (double n) { if (fabs (1.0 - n) < EPSILON) n = 1.0; @@ -37,7 +37,7 @@ double_normalize (gdouble n) static void spin_xalign_cb (GtkSpinButton *spin, GtkFrame *frame) { - gdouble xalign; + double xalign; xalign = double_normalize (gtk_spin_button_get_value (spin)); gtk_frame_set_label_align (frame, xalign); |