mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 05:39:14 +02:00
* 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:
parent
6ec341b0c1
commit
6e953d396f
@ -1564,7 +1564,7 @@ begin
|
|||||||
(csDesigning in AWinControl.ComponentState) then
|
(csDesigning in AWinControl.ComponentState) then
|
||||||
Exit;
|
Exit;
|
||||||
Value.g_type := G_TYPE_BOOLEAN;
|
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);
|
g_object_set_property(PGObject(AWidget), 'button-sensitivity', @Value);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user