blueprint-compiler/tests/samples/issue_119.ui
James Westman 883a136103 Fix parsing decimals
A number literal is a float if it contains ".", not if it is divisible
by 1. For example, 1.0 should be considered a float literal.
2023-07-20 19:25:25 -05:00

9 lines
232 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="GtkAdjustment">
<binding name="value">
<constant type="gfloat">1</constant>
</binding>
</object>
</interface>