Re: [Vala] ... and one for tiff.vapi



inter wrote:
Hi
the curses sample from the vala website will only work for me with the
following patch
cheers, lariamat

And here's a patch for 'tiff.vapi'. Otherwise the TIFF wiki sample
doesn't work:

"error: field type `Tiff.PutUnion` is less accessible than field
`Tiff.RGBAImage.put`"


Regards,

Frederik
diff --git a/vapi/tiff.vapi b/vapi/tiff.vapi
index cc0a10e..1b4bf7f 100644
--- a/vapi/tiff.vapi
+++ b/vapi/tiff.vapi
@@ -104,7 +104,7 @@ namespace Tiff {
        }
 
        [Compact]
-       private class PutUnion {
+       public class PutUnion {
                public delegate void any (RGBAImage p1);
                TileContigRoutine contig;
                TileSeparateRoutine separate;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]