[vala/wip/error-gtype: 1/5] glib-2.0: Add type_id of GLib.Error




commit 1f4ae3f7425361598d05501b144bb612a97ec5ba
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Oct 15 08:27:05 2019 +0200

    glib-2.0: Add type_id of GLib.Error

 vapi/glib-2.0.vapi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 57ed84238..e22acacdd 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2671,7 +2671,7 @@ namespace GLib {
 
        [Compact]
        [ErrorBase]
-       [CCode (copy_function = "g_error_copy", free_function = "g_error_free")]
+       [CCode (copy_function = "g_error_copy", free_function = "g_error_free", type_id = "G_TYPE_ERROR")]
        public class Error {
                [PrintfFormat]
                public Error (Quark domain, int code, string format, ...);


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