]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vala: Remove unused Interface.prepend_prerequisite()
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 17 May 2018 17:15:52 +0000 (19:15 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 19 May 2018 10:22:39 +0000 (12:22 +0200)
vala/valainterface.vala

index adb41ae16fa6f3985caf3743fbb9b3324e9b5496..39242d3582bd5beb39b1802b824b85004c215653 100644 (file)
@@ -52,16 +52,6 @@ public class Vala.Interface : ObjectTypeSymbol {
                type.parent_node = this;
        }
 
-       /**
-        * Prepends the specified interface or class to the list of
-        * prerequisites of this interface.
-        *
-        * @param type an interface or class reference
-        */
-       public void prepend_prerequisite (DataType type) {
-               prerequisites.insert (0, type);
-       }
-
        /**
         * Returns a copy of the base type list.
         *