renamed xlib2 to lazxlib2

git-svn-id: trunk@43674 -
This commit is contained in:
andrew 2014-01-08 04:03:42 +00:00
parent bf725981ef
commit fbc2b77b80
3 changed files with 5 additions and 4 deletions

2
.gitattributes vendored
View File

@ -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

View File

@ -1,5 +1,5 @@
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit xlib2;
unit Lazxlib2;
{$MODE OBJFPC}{$H+}

View File

@ -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)^.;