From: Rico Tzschichholz Date: Mon, 25 Nov 2019 07:30:43 +0000 (+0100) Subject: vala: Drop Namespace.remove_struct() X-Git-Tag: 0.47.2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0545099128dfe6380ea0b054ef2790a9c58e074;p=thirdparty%2Fvala.git vala: Drop Namespace.remove_struct() --- diff --git a/vala/valanamespace.vala b/vala/valanamespace.vala index 56a905bb4..deff45c29 100644 --- a/vala/valanamespace.vala +++ b/vala/valanamespace.vala @@ -207,16 +207,6 @@ public class Vala.Namespace : Symbol { scope.add (st.name, st); } - /** - * Removes the specified struct from this namespace. - * - * @param st a struct - */ - public void remove_struct (Struct st) { - structs.remove (st); - scope.remove (st.name); - } - /** * Adds the specified enum to this namespace. *