* small fix that forces type of gtrue to longint. This makes lazarus compatible with both boolean32 based gboolean type (in FPC/trunk since r17923) while keeping compat with the old (longbool, which will remain in 2.4.x)

git-svn-id: trunk@31546 -
This commit is contained in:
marco 2011-07-03 20:39:13 +00:00
parent 6ec341b0c1
commit 6e953d396f

View File

@ -1564,7 +1564,7 @@ begin
(csDesigning in AWinControl.ComponentState) then
Exit;
Value.g_type := G_TYPE_BOOLEAN;
Value.data[0].v_int := gTRUE;
Value.data[0].v_int := longint(gTRUE);
g_object_set_property(PGObject(AWidget), 'button-sensitivity', @Value);
end;