2007-10-01 Mike Kestner <mkestner@novell.com>

* generator/OpaqueGen.cs: disable Copy generation fix until I can
	figure out why it breaks DnD.

svn path=/trunk/gtk-sharp/; revision=86732
This commit is contained in:
Mike Kestner 2007-10-02 03:08:44 +00:00
parent 2b3aaeb652
commit 70f976e020
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-10-01 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs: disable Copy generation fix until I can
figure out why it breaks DnD.
2007-10-01 Mike Kestner <mkestner@novell.com> 2007-10-01 Mike Kestner <mkestner@novell.com>
* gtk/TreePath.custom: use Marshal.Copy to copy indices array. * gtk/TreePath.custom: use Marshal.Copy to copy indices array.

View File

@ -129,6 +129,7 @@ namespace GtkSharp.Generation {
} }
} }
#if false
Method copy = Methods ["Copy"] as Method; Method copy = Methods ["Copy"] as Method;
if (copy != null && copy.Parameters.Count == 0) { if (copy != null && copy.Parameters.Count == 0) {
sw.WriteLine ("\t\tprotected override GLib.Opaque Copy (IntPtr raw)"); sw.WriteLine ("\t\tprotected override GLib.Opaque Copy (IntPtr raw)");
@ -139,6 +140,7 @@ namespace GtkSharp.Generation {
sw.WriteLine ("\t\t}"); sw.WriteLine ("\t\t}");
sw.WriteLine (); sw.WriteLine ();
} }
#endif
sw.WriteLine ("#endregion"); sw.WriteLine ("#endregion");
AppendCustom(sw, gen_info.CustomDir); AppendCustom(sw, gen_info.CustomDir);