diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-01-30 15:59:06 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2021-02-27 19:46:55 +0100 |
commit | b44cd496f9970725dc1bddbeaee9cdb006b8ca80 (patch) | |
tree | cfac88fd8e4b9c267019ce822b2b7c65ab9452f5 | |
parent | f5a2ce924bf68e1cbd2480e7e0f5629808c9db55 (diff) | |
download | vala-b44cd496f9970725dc1bddbeaee9cdb006b8ca80.tar.gz |
gtk+-2.0,javascriptcoregtk-4.0: Wrong usage of CCode.type_cname attribute
-rw-r--r-- | vapi/gtk+-2.0.vapi | 4 | ||||
-rw-r--r-- | vapi/javascriptcoregtk-4.0.vapi | 4 | ||||
-rw-r--r-- | vapi/metadata/JavaScriptCore-4.0-custom.vala | 4 | ||||
-rw-r--r-- | vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 7291ac381..756912497 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -7518,7 +7518,7 @@ namespace Gtk { public delegate bool AccelGroupFindFunc (Gtk.AccelKey key, GLib.Closure closure); [CCode (cheader_filename = "gtk/gtk.h", has_target = false)] public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool changed); - [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")] + [CCode (cheader_filename = "gtk/gtk.h", cname = "GCallback")] public delegate void ActionCallback (Gtk.Action action); [CCode (cheader_filename = "gtk/gtk.h")] public delegate int AssistantPageFunc (int current_page); @@ -7578,7 +7578,7 @@ namespace Gtk { public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup); [CCode (cheader_filename = "gtk/gtk.h")] public delegate void PrintSettingsFunc (string key, string value); - [CCode (cheader_filename = "gtk/gtk.h", type_cname = "GCallback")] + [CCode (cheader_filename = "gtk/gtk.h", cname = "GCallback")] public delegate void RadioActionCallback (Gtk.Action action, Gtk.Action current); [CCode (cheader_filename = "gtk/gtk.h", has_target = false)] public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value); diff --git a/vapi/javascriptcoregtk-4.0.vapi b/vapi/javascriptcoregtk-4.0.vapi index 423024869..ec34b2b84 100644 --- a/vapi/javascriptcoregtk-4.0.vapi +++ b/vapi/javascriptcoregtk-4.0.vapi @@ -385,7 +385,7 @@ namespace JSC { ENUMERABLE, WRITABLE } - [CCode (cheader_filename = "jsc/jsc.h", instance_pos = 1.9, type_cname = "GCallback")] + [CCode (cheader_filename = "jsc/jsc.h", cname = "GCallback", instance_pos = 1.9)] public delegate T ClassConstructorCb<T> (GLib.GenericArray<JSC.Value> values); [CCode (cheader_filename = "jsc/jsc.h", has_target = false)] public delegate bool ClassDeletePropertyFunction (JSC.Class jsc_class, JSC.Context context, void* instance, string name); @@ -395,7 +395,7 @@ namespace JSC { public delegate JSC.Value? ClassGetPropertyFunction (JSC.Class jsc_class, JSC.Context context, void* instance, string name); [CCode (cheader_filename = "jsc/jsc.h", has_target = false)] public delegate bool ClassHasPropertyFunction (JSC.Class jsc_class, JSC.Context context, void* instance, string name); - [CCode (cheader_filename = "jsc/jsc.h", instance_pos = 2.9, type_cname = "GCallback")] + [CCode (cheader_filename = "jsc/jsc.h", cname = "GCallback", instance_pos = 2.9)] public delegate T ClassMethodCb<T> (JSC.Class instance, GLib.GenericArray<JSC.Value> values); [CCode (cheader_filename = "jsc/jsc.h", has_target = false)] public delegate bool ClassSetPropertyFunction (JSC.Class jsc_class, JSC.Context context, void* instance, string name, JSC.Value value); diff --git a/vapi/metadata/JavaScriptCore-4.0-custom.vala b/vapi/metadata/JavaScriptCore-4.0-custom.vala index 164c7e059..0ba392d63 100644 --- a/vapi/metadata/JavaScriptCore-4.0-custom.vala +++ b/vapi/metadata/JavaScriptCore-4.0-custom.vala @@ -159,8 +159,8 @@ namespace JS { } namespace JSC { - [CCode (type_cname = "GCallback", instance_pos = 1.9)] + [CCode (cname = "GCallback", instance_pos = 1.9)] public delegate T ClassConstructorCb<T> (GLib.GenericArray<JSC.Value> values); - [CCode (type_cname = "GCallback", instance_pos = 2.9)] + [CCode (cname = "GCallback", instance_pos = 2.9)] public delegate T ClassMethodCb<T> (JSC.Class instance, GLib.GenericArray<JSC.Value> values); } diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala index f2ad5121e..446a7bdda 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala +++ b/vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala @@ -288,10 +288,10 @@ namespace Gtk { [CCode (has_target = false)] public delegate void CallbackMarshal (Object object, void* data, Arg[] args); - [CCode (type_cname = "GCallback")] + [CCode (cname = "GCallback")] public delegate void ActionCallback (Action action); - [CCode (type_cname = "GCallback")] + [CCode (cname = "GCallback")] public delegate void RadioActionCallback (Action action, Action current); [CCode (cheader_filename = "gtk/gtk.h")] |