From: Philip Withnall Date: Sat, 17 Jul 2010 06:17:42 +0000 (-0700) Subject: glib-2.0: Add PrintfFormat annotation to GLib.Error constructor X-Git-Tag: 0.9.4~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f615b6ada1990c39d43213ae7af75427451734b8;p=thirdparty%2Fvala.git glib-2.0: Add PrintfFormat annotation to GLib.Error constructor Fixes bug 622485. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 2e6d90217..9b28fab0b 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1840,6 +1840,7 @@ namespace GLib { [ErrorBase] [CCode (copy_function = "g_error_copy", free_function = "g_error_free")] public class Error { + [PrintfFormat] public Error (Quark domain, int code, string format, ...); public Error copy (); public bool matches (Quark domain, int code);