Plugin registrar: chain up to GLib.Object using new (vala 0.7.8) syntax
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 9 Nov 2009 09:20:34 +0000 (10:20 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 9 Nov 2009 16:22:50 +0000 (17:22 +0100)
src/plugin-registrar.vala

index 29eed01..69eccb7 100644 (file)
@@ -28,8 +28,8 @@ public class PluginRegistrar<T> : Object {
                assert (Module.supported ());
        }
 
-       public PluginRegistrar (string path) {
-               this.path = path;
+       public PluginRegistrar (string _path) {
+               Object (path: _path);
        }
 
        public bool load () {