mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 03:49:22 +02:00
renamed xlib2 to lazxlib2
git-svn-id: trunk@43674 -
This commit is contained in:
parent
bf725981ef
commit
fbc2b77b80
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -6591,7 +6591,7 @@ lcl/interfaces/gtk3/gtk3bindings/lazpango1.pas svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3bindings/lazpangocairo1.pas svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3bindings/lazsoup2_4.pas svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3bindings/lazwebkit3.pas svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3bindings/xlib2.pas svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3bindings/lazxlib2.pas svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3cellrenderer.pas svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3defines.inc svneol=native#text/plain
|
||||
lcl/interfaces/gtk3/gtk3int.pas svneol=native#text/plain
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
|
||||
unit xlib2;
|
||||
unit Lazxlib2;
|
||||
|
||||
{$MODE OBJFPC}{$H+}
|
||||
|
@ -2177,7 +2177,7 @@ var
|
||||
R: Double;
|
||||
G: Double;
|
||||
B: Double;
|
||||
begin
|
||||
begin exit;
|
||||
// new way (gtk3) but still buggy
|
||||
if IsWidgetOK and (0 > 1) then
|
||||
begin
|
||||
@ -6166,12 +6166,13 @@ begin
|
||||
|
||||
// this is deprecated since 3.8 .add() should be used
|
||||
// in this case viewport should be blocked somehow.....
|
||||
//if FUseLayout then
|
||||
//if FUseLayout or (gtk_get_major_version > 3 or gtk_get_minor_version >=8 )then
|
||||
// PGtkScrolledWindow(Result)^.add(FCentralWidget)
|
||||
//else
|
||||
// PGtkScrolledWindow(Result)^.add_with_viewport(FCentralWidget);
|
||||
|
||||
// gtk_container_add() will now automatically add a GtkViewport if the child doesn't implement GtkScrollable.
|
||||
|
||||
PGtkScrolledWindow(Result)^.add(FCentralWidget);
|
||||
|
||||
// PGtkViewport(PGtkScrolledWindow(Result)^.get_child)^.;
|
||||
|
Loading…
Reference in New Issue
Block a user