summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-11-25 08:30:43 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-11-25 08:30:43 +0100
commitb0545099128dfe6380ea0b054ef2790a9c58e074 (patch)
treedfe598ac4fd601230f7e38205509a87990e68f01
parente722f7640e01b405cc600f8a3b164dce3407d321 (diff)
downloadvala-b0545099128dfe6380ea0b054ef2790a9c58e074.tar.gz
vala: Drop Namespace.remove_struct()
-rw-r--r--vala/valanamespace.vala10
1 files changed, 0 insertions, 10 deletions
diff --git a/vala/valanamespace.vala b/vala/valanamespace.vala
index 56a905bb4..deff45c29 100644
--- a/vala/valanamespace.vala
+++ b/vala/valanamespace.vala
@@ -208,16 +208,6 @@ public class Vala.Namespace : Symbol {
}
/**
- * 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.
*
* @param en an enum