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:
parent
3fec7ca60a
commit
c6ed501d04
2 changed files with 12 additions and 3 deletions
|
@ -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>
|
2002-05-08 Joe Shaw <joe@assbarn.com>
|
||||||
|
|
||||||
* */Makefile.in: Don't allow the shell to do file globbing; makes
|
* */Makefile.in: Don't allow the shell to do file globbing; makes
|
||||||
|
|
|
@ -184,8 +184,11 @@ namespace GtkSharp.Generation {
|
||||||
Console.Write("Interface property detected ");
|
Console.Write("Interface property detected ");
|
||||||
Statistics.ThrottledCount++;
|
Statistics.ThrottledCount++;
|
||||||
return true;
|
return true;
|
||||||
} else if (table.IsObject(c_type)) {
|
// FIXME: This will cause InvalidCastExceptions but
|
||||||
v_type = "GLib.Object";
|
// it's commented out to help expose a compiler bug
|
||||||
|
//
|
||||||
|
// } else if (table.IsObject(c_type)) {
|
||||||
|
// v_type = "GLib.Object";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cs_type == "") {
|
if (cs_type == "") {
|
||||||
|
@ -231,7 +234,7 @@ namespace GtkSharp.Generation {
|
||||||
public bool GenSignal (XmlElement sig, SymbolTable table, StreamWriter sw, out String name)
|
public bool GenSignal (XmlElement sig, SymbolTable table, StreamWriter sw, out String name)
|
||||||
{
|
{
|
||||||
String cname = "\"" + sig.GetAttribute("cname") + "\"";
|
String cname = "\"" + sig.GetAttribute("cname") + "\"";
|
||||||
name = sig.GetAttribute("name") + "EventHandler";
|
name = sig.GetAttribute("name");
|
||||||
|
|
||||||
String marsh = SignalHandler.GetName(sig, table);
|
String marsh = SignalHandler.GetName(sig, table);
|
||||||
if (marsh == "") {
|
if (marsh == "") {
|
||||||
|
|
Loading…
Reference in a new issue