mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 19:56:21 +02:00
Gtk2: convert debugln to compile time warning / no need to output this to console, even in user apps
git-svn-id: trunk@61827 -
This commit is contained in:
parent
6c9e20c06f
commit
e393217c1c
@ -4166,7 +4166,8 @@ begin
|
||||
Result := g_object_get_data(PGObject(MainWidget), 'widgetinfo');
|
||||
if Assigned(Result) then Exit;
|
||||
Result := CreateWidgetInfo(MainWidget);
|
||||
DebugLn('GetOrCreateWidgetInfo: MainWidget info was created causing a memory leak.');
|
||||
{$WARNING GetOrCreateWidgetInfo: MainWidget info was created causing a memory leak.}
|
||||
//DebugLn('GetOrCreateWidgetInfo: MainWidget info was created causing a memory leak.');
|
||||
// use the main widget as default
|
||||
Result^.CoreWidget := PGtkWidget(MainWidget);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user