]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add SourceFile.clear_using_directives method, required by
authorJürg Billeter <j@bitron.ch>
Sat, 6 Dec 2008 10:55:00 +0000 (10:55 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 6 Dec 2008 10:55:00 +0000 (10:55 +0000)
2008-12-06  Jürg Billeter  <j@bitron.ch>

* vala/valasourcefile.vala:

Add SourceFile.clear_using_directives method, required by
anjuta-vala-plugin

svn path=/trunk/; revision=2120

ChangeLog
vala/valasourcefile.vala

index 0b1ce72505708033ce3a496cba3ad3f6ed1a8259..38f4cb6ed5e55dbad73913dd6fb69c30c444f6f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-12-06  Jürg Billeter  <j@bitron.ch>
+
+       * vala/valasourcefile.vala:
+
+       Add SourceFile.clear_using_directives method, required by
+       anjuta-vala-plugin
+
 2008-12-05  Jürg Billeter  <j@bitron.ch>
 
        * gobject/valaccodebasemodule.vala:
index a91c543fffaba749f1109b12f2876dcab9a58008..cd511916d4c491c6b26e5468d34355a2f273ef75 100644 (file)
@@ -130,6 +130,10 @@ public class Vala.SourceFile {
                using_directives.add (ns);
        }
 
+       public void clear_using_directives () {
+               using_directives.clear ();
+       }
+
        bool same_symbol (Symbol? sym1, Symbol? sym2) {
                if (sym1 == sym2) {
                        return true;