From: Zhou Qiankang Date: Wed, 6 Mar 2024 09:41:50 +0000 (+0800) Subject: gmodule-2.0: Do not mark `Module.open` as deprecated X-Git-Tag: 0.56.16~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=882969fd315c0e04bc590cd34297e0718b1d9f64;p=thirdparty%2Fvala.git gmodule-2.0: Do not mark `Module.open` as deprecated --- diff --git a/vapi/gmodule-2.0.vapi b/vapi/gmodule-2.0.vapi index 240729fc6..0b9952e54 100644 --- a/vapi/gmodule-2.0.vapi +++ b/vapi/gmodule-2.0.vapi @@ -18,7 +18,6 @@ namespace GLib { public static GLib.Quark error_quark (); public void make_resident (); public unowned string name (); - [Version (deprecated = true, deprecated_since = "2.70", replacement = "Module.new")] public static GLib.Module? open (string? file_name, GLib.ModuleFlags flags); public static bool supported (); public bool symbol (string symbol_name, out void* symbol); diff --git a/vapi/metadata/GModule-2.0.metadata b/vapi/metadata/GModule-2.0.metadata index 069504da5..9e3381b31 100644 --- a/vapi/metadata/GModule-2.0.metadata +++ b/vapi/metadata/GModule-2.0.metadata @@ -2,5 +2,5 @@ GModule name="GLib" Module .open_full skip=false name="new" symbol_type="constructor" throws="GLib.ModuleError" - .open skip=false unowned=false nullable deprecated_since="2.70" replacement="Module.new" + .open skip=false unowned=false nullable .close destroys_instance