]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vala: Drop Namespace.remove_struct()
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 25 Nov 2019 07:30:43 +0000 (08:30 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 25 Nov 2019 07:30:43 +0000 (08:30 +0100)
vala/valanamespace.vala

index 56a905bb43ae7b80f9762fc78d822c808a2097e1..deff45c294accfd500feb92e7d879dbb229ee176 100644 (file)
@@ -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.
         *