]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gobject-2.0: Add ParamSpec/Signal.is_valid_name() since 2.66 45675a25029b937823236627d5fede195894181d
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Apr 2020 07:57:33 +0000 (09:57 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Apr 2020 08:01:21 +0000 (10:01 +0200)
vapi/gobject-2.0.vapi

index 7cc47468d047c24f3917ac5a9f03a1892db34b99..7b06ae9bfad607a594c21fb973007a43727ed80b 100644 (file)
@@ -252,6 +252,8 @@ namespace GLib {
                public unowned GLib.ParamSpec get_redirect_target ();
                [CCode (cname = "g_param_spec_internal")]
                public ParamSpec.@internal (GLib.Type param_type, string name, string nick, string blurb, GLib.ParamFlags flags);
+               [Version (since = "2.66")]
+               public static bool is_valid_name (string name);
                public unowned GLib.ParamSpec @ref ();
                public unowned GLib.ParamSpec ref_sink ();
                public void set_qdata (GLib.Quark quark, void* data);
@@ -569,6 +571,8 @@ namespace GLib {
                public static void emit_by_name (void* instance, string detailed_signal, ...);
                public static unowned GLib.SignalInvocationHint? get_invocation_hint (void* instance);
                public static bool has_handler_pending (void* instance, uint signal_id, GLib.Quark detail, bool may_be_blocked);
+               [Version (since = "2.66")]
+               public static bool is_valid_name (string name);
                [CCode (array_length_type = "guint")]
                public static uint[] list_ids (GLib.Type itype);
                public static uint lookup (string name, GLib.Type itype);