]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add PrintfFormat annotation to GLib.Error constructor
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Sat, 17 Jul 2010 06:17:42 +0000 (23:17 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 17 Jul 2010 06:17:42 +0000 (23:17 -0700)
Fixes bug 622485.

vapi/glib-2.0.vapi

index 2e6d90217a1a0f1a856b23eaef7cadd877e1fa5f..9b28fab0b02e19945ebb1b50d3dce7c2a8b66aee 100644 (file)
@@ -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);