summaryrefslogtreecommitdiff
path: root/vala/valaswitchsection.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-10-27 08:12:26 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-10-27 08:12:26 +0000
commit8ff16e2fc8a7fb97c4f578bba978f71cda54432d (patch)
treee886cc1f9807303047fa153ca973b093e2cad0c1 /vala/valaswitchsection.vala
parent8cec33e591ada9eb65bfe03a05d0afbcadaa9686 (diff)
downloadvala-8ff16e2fc8a7fb97c4f578bba978f71cda54432d.tar.gz
Use constructor chaining instead of helper method
2008-10-27 Jürg Billeter <j@bitron.ch> * vala/valaarraylengthfield.vala: * vala/valaarraymovemethod.vala: * vala/valaarrayresizemethod.vala: * vala/valablock.vala: * vala/valaclass.vala: * vala/valaconstant.vala: * vala/valaconstructor.vala: * vala/valacreationmethod.vala: * vala/valadelegate.vala: * vala/valadestructor.vala: * vala/valadynamicmethod.vala: * vala/valadynamicproperty.vala: * vala/valadynamicsignal.vala: * vala/valaenum.vala: * vala/valaenumvalue.vala: * vala/valaerrorcode.vala: * vala/valaerrordomain.vala: * vala/valafield.vala: * vala/valaforeachstatement.vala: * vala/valaformalparameter.vala: * vala/valainterface.vala: * vala/valalocalvariable.vala: * vala/valamember.vala: * vala/valamethod.vala: * vala/valanamespace.vala: * vala/valaobjecttypesymbol.vala: * vala/valaproperty.vala: * vala/valasignal.vala: * vala/valastruct.vala: * vala/valaswitchsection.vala: * vala/valasymbol.vala: * vala/valatypeparameter.vala: * vala/valatypesymbol.vala: Use constructor chaining instead of helper method svn path=/trunk/; revision=1934
Diffstat (limited to 'vala/valaswitchsection.vala')
-rw-r--r--vala/valaswitchsection.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/vala/valaswitchsection.vala b/vala/valaswitchsection.vala
index 958ecfff3..2212c47b9 100644
--- a/vala/valaswitchsection.vala
+++ b/vala/valaswitchsection.vala
@@ -36,8 +36,7 @@ public class Vala.SwitchSection : Block {
* @return newly created switch section
*/
public SwitchSection (SourceReference source_reference) {
- base.init ();
- this.source_reference = source_reference;
+ base (source_reference);
}
/**