diff options
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r-- | tests/testgtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index eb58685e2..88fe44983 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -2997,7 +2997,7 @@ spin_button_month_input_func (GtkSpinButton *spin_button, if (!found) { *new_val = 0.0; - return INPUT_ERROR; + return GTK_INPUT_ERROR; } *new_val = (gfloat) i; return TRUE; @@ -3032,7 +3032,7 @@ spin_button_hex_input_func (GtkSpinButton *spin_button, res = (gfloat)(strtol(buf, &err, 16)); *new_val = res; if (*err) - return INPUT_ERROR; + return GTK_INPUT_ERROR; else return TRUE; } |