[vala] glib-2.0: Add PrintfFormat annotation to GLib.Error constructor



commit f615b6ada1990c39d43213ae7af75427451734b8
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Jul 16 23:17:42 2010 -0700

    glib-2.0: Add PrintfFormat annotation to GLib.Error constructor
    
    Fixes bug 622485.

 vapi/glib-2.0.vapi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 2e6d902..9b28fab 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);



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