mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-19 10:28:29 +02:00
fixed gtk2 compilation
git-svn-id: trunk@9256 -
This commit is contained in:
parent
260a95030f
commit
173f5c5a42
@ -37,17 +37,12 @@ uses
|
||||
{$endif}
|
||||
SysUtils, Classes, FPCAdds,
|
||||
{$IFDEF UNIX}
|
||||
baseunix, unix,
|
||||
{$IFDEF GTK1}
|
||||
X, XLib, XUtil, XAtom, //Font retrieval and Keyboard handling
|
||||
{$ENDIF not Gtk1}
|
||||
baseunix, unix, XAtom,
|
||||
X, XLib, XUtil, //Font retrieval and Keyboard handling
|
||||
{$ENDIF}
|
||||
InterfaceBase,
|
||||
{$IFDEF gtk2}
|
||||
glib2, gdk2pixbuf, gdk2, gtk2, Pango,
|
||||
{$IFDEF UNIX}
|
||||
X, XLib, XUtil, //Keyboard handling
|
||||
{$ENDIF}
|
||||
{$ELSE}
|
||||
glib, gdk, gtk, {$Ifndef NoGdkPixbufLib}gdkpixbuf,{$EndIf} GtkFontCache,
|
||||
{$ENDIF}
|
||||
|
@ -417,8 +417,6 @@ var
|
||||
Underline,
|
||||
StrikeOut : Boolean;
|
||||
|
||||
RGBColor : Longint;
|
||||
|
||||
Layout : PPangoLayout;
|
||||
UseFontDesc : PPangoFontDescription;
|
||||
AttrList : PPangoAttrList;
|
||||
|
Loading…
Reference in New Issue
Block a user