2002-05-08 Joe Shaw <joe@assbarn.com>

* generator/ObjectGen.cs (GenProperty): Comment the last checkin out
	because it exposes a compiler bug.
	(GenSignal): Back this change out.

svn path=/trunk/gtk-sharp/; revision=4421
This commit is contained in:
Joe Shaw 2002-05-08 14:08:12 +00:00
parent 3fec7ca60a
commit c6ed501d04
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-05-08 Joe Shaw <joe@assbarn.com>
* generator/ObjectGen.cs (GenProperty): Comment the last checkin out
because it exposes a compiler bug.
(GenSignal): Back this change out.
2002-05-08 Joe Shaw <joe@assbarn.com>
* */Makefile.in: Don't allow the shell to do file globbing; makes

View File

@ -184,8 +184,11 @@ namespace GtkSharp.Generation {
Console.Write("Interface property detected ");
Statistics.ThrottledCount++;
return true;
} else if (table.IsObject(c_type)) {
v_type = "GLib.Object";
// FIXME: This will cause InvalidCastExceptions but
// it's commented out to help expose a compiler bug
//
// } else if (table.IsObject(c_type)) {
// v_type = "GLib.Object";
}
if (cs_type == "") {
@ -231,7 +234,7 @@ namespace GtkSharp.Generation {
public bool GenSignal (XmlElement sig, SymbolTable table, StreamWriter sw, out String name)
{
String cname = "\"" + sig.GetAttribute("cname") + "\"";
name = sig.GetAttribute("name") + "EventHandler";
name = sig.GetAttribute("name");
String marsh = SignalHandler.GetName(sig, table);
if (marsh == "") {