Constructor
This commit is contained in:
parent
e34a6d7606
commit
542be14153
2 changed files with 4 additions and 3 deletions
|
@ -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<GLib.Value> ();");
|
||||
sw.WriteLine ("\t\t\t\tvar names = new List<string> ();");
|
||||
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}");
|
||||
|
|
|
@ -154,6 +154,7 @@
|
|||
<attr path="/api/namespace/object[@cname='GTlsCertificate']/method[@name='ListNewFromFile']/return-type" name="elements_owned">true</attr>
|
||||
<attr path="/api/namespace/object[@cname='GTlsCertificate']/method[@name='ListNewFromFile']/return-type" name="owned">true</attr>
|
||||
<attr path="/api/namespace/object[@cname='GUnixSocketAddress']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GUnixFDList']/constructor[@cname='g_unix_fd_list_new_from_array']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/method[@name='Get']" name="name">GetDefault</attr>
|
||||
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetMounts']/return-type" name="element_type">GMount*</attr>
|
||||
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetMounts']/return-type" name="owned">true</attr>
|
||||
|
|
Loading…
Reference in a new issue