From: Michal Hruby Date: Thu, 10 Mar 2011 21:31:55 +0000 (+0100) Subject: cairo: Mark filename parameter for PdfSurface nullable X-Git-Tag: 0.10.4~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fc967f35dec90a724c139c761275eccb5fc2e39;p=thirdparty%2Fvala.git cairo: Mark filename parameter for PdfSurface nullable Fixes bug 644158. --- diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi index 0ebc50b34..bc2d8cdd7 100644 --- a/vapi/cairo.vapi +++ b/vapi/cairo.vapi @@ -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);