* fix compilation with lazarus trunk under gtk

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2012-09-22 12:44:35 +00:00
parent 40e1b4632d
commit a621ab87c6

View File

@ -1,6 +1,11 @@
uses
gtk2def, gdk2, GTK2Proc, Cairo;
{$MACRO ON}
{$ifndef LAZARUS_1_0}
{$define TGtk2DeviceContext:=TGtkDeviceContext}
{$endif}
function gdk_cairo_create(drawable: PGdkDrawable): Pcairo_t cdecl external gdklib;