diff options
author | Evan Nemerson <evan@nemerson.com> | 2014-06-11 20:31:08 -0700 |
---|---|---|
committer | Evan Nemerson <evan@nemerson.com> | 2014-06-11 20:31:08 -0700 |
commit | d8fb7fd3c297f91b5613b18b1d3fa1d76260ea82 (patch) | |
tree | 7a9611b6bfbf0c1ba12fe7d87017625efe1a0db3 /vapi/gobject-2.0.vapi | |
parent | 7f5104e1c92fc34c8526ddb83118bf4785b40352 (diff) | |
download | vala-d8fb7fd3c297f91b5613b18b1d3fa1d76260ea82.tar.gz |
gobject-2.0: make TypeClass non-reference-counted
The ref function was always broken and would generate invalid C, so
this should be safe.
Fixes bug 679481.
Diffstat (limited to 'vapi/gobject-2.0.vapi')
-rw-r--r-- | vapi/gobject-2.0.vapi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 426b2be63..6cd0e4099 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -89,7 +89,7 @@ namespace GLib { } [Compact] - [CCode (ref_function = "g_type_class_ref", unref_function = "g_type_class_unref")] + [CCode (free_function = "g_type_class_unref")] public class TypeClass { [CCode (cname = "G_TYPE_FROM_CLASS")] public Type get_type (); |