Browse Source

* Emergency fix by defining glib.gtypes locally. Last commit had
introduced a new implicit dependency on gtk2.

git-svn-id: trunk@25773 -

marco 11 years ago
parent
commit
480f687160
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/cairo/src/cairo.pp

+ 2 - 1
packages/cairo/src/cairo.pp

@@ -63,7 +63,7 @@ unit Cairo;
 interface
 
 Uses
-  CTypes, glib2;
+  CTypes;
 
 const
 {$ifdef MSWINDOWS}
@@ -91,6 +91,7 @@ const
 {$ENDIF}
 
 type
+  GTYPE= culong; // =gulong from glib2, which we can't include due dependencies.
   cairo_status_t = (
     CAIRO_STATUS_SUCCESS = 0,