diff --git a/generator/Ctor.cs b/generator/Ctor.cs index 9747b23d4..5553cd056 100644 --- a/generator/Ctor.cs +++ b/generator/Ctor.cs @@ -122,7 +122,7 @@ namespace GtkSharp.Generation { } } - if (names.Count == Parameters.Count) { + //if (names.Count == Parameters.Count) { sw.WriteLine ("\t\t\t\tvar vals = new List ();"); sw.WriteLine ("\t\t\t\tvar names = new List ();"); for (int i = 0; i < names.Count; i++) { @@ -141,8 +141,8 @@ namespace GtkSharp.Generation { sw.WriteLine ("\t\t\t\tCreateNativeObject (names.ToArray (), vals.ToArray ());"); sw.WriteLine ("\t\t\t\treturn;"); - } else - sw.WriteLine ("\t\t\t\tthrow new InvalidOperationException (\"Can't override this constructor.\");"); + //} else + // sw.WriteLine ("\t\t\t\tthrow new InvalidOperationException (\"Can't override this constructor.\");"); } sw.WriteLine ("\t\t\t}"); diff --git a/gio/Gio.metadata b/gio/Gio.metadata index 5b5543b4e..742c5bc9e 100644 --- a/gio/Gio.metadata +++ b/gio/Gio.metadata @@ -154,6 +154,7 @@ true true 1 + 1 GetDefault GMount* true