[vala/staging] vala: Drop Namespace.remove_struct()



commit b0545099128dfe6380ea0b054ef2790a9c58e074
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Nov 25 08:30:43 2019 +0100

    vala: Drop Namespace.remove_struct()

 vala/valanamespace.vala | 10 ----------
 1 file changed, 10 deletions(-)
---
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.
         *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]