]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
cairo: Mark filename parameter for PdfSurface nullable
authorMichal Hruby <michal.mhr@gmail.com>
Thu, 10 Mar 2011 21:31:55 +0000 (22:31 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 12 Mar 2011 15:07:35 +0000 (16:07 +0100)
Fixes bug 644158.

vapi/cairo.vapi

index 0ebc50b342f0a19a0a58ad071bb0ed5ca1dcb207..bc2d8cdd7d06cbf5a010d01aee8c1ec3f441fd80 100644 (file)
@@ -511,7 +511,7 @@ namespace Cairo {
        [CCode (cname = "cairo_surface_t", cheader_filename = "cairo-pdf.h")]
        public class PdfSurface : Surface {
                [CCode (cname = "cairo_pdf_surface_create")]
-               public PdfSurface (string filename, double width_in_points, double height_in_points);
+               public PdfSurface (string? filename, double width_in_points, double height_in_points);
                [CCode (cname = "cairo_pdf_surface_create_for_stream")]
                public PdfSurface.for_stream (WriteFunc write_func, double width_in_points, double height_in_points);
                public void set_size (double width_in_points, double height_in_points);