mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 05:15:56 +02:00
gtk2: fix another mem leak with combobox (combobox button had separate widgetinfo)
git-svn-id: trunk@12228 -
This commit is contained in:
parent
f60797e179
commit
d88841d1ee
@ -1296,6 +1296,7 @@ begin
|
||||
|
||||
SetMainWidget(Box, ComboWidget);
|
||||
SetMainWidget(Box, GTK_BIN(ComboWidget)^.child);
|
||||
SetMainWidget(Box, PGtkComboBoxPrivate(PGtkComboBox(ComboWidget)^.priv)^.button);
|
||||
|
||||
WidgetInfo^.CoreWidget := ComboWidget;
|
||||
WidgetInfo^.ClientWidget := Box;
|
||||
|
Loading…
Reference in New Issue
Block a user