diff --git a/ChangeLog b/ChangeLog index 3e6f6ff24..c815e6155 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-29 Mike Kestner + + * generator/CallbackGen.cs : Fix build breaker from refactoring. + * sample/Makefile.in : Build the menu sample on linux. + 2002-05-28 Mike Kestner * makefile : add separate targets for native and platform diff --git a/generator/CallbackGen.cs b/generator/CallbackGen.cs index 24bb0bda7..dd897896b 100644 --- a/generator/CallbackGen.cs +++ b/generator/CallbackGen.cs @@ -55,9 +55,9 @@ namespace GtkSharp.Generation { } if ((parms != null) && !parms.Validate ()) { - Console.WriteLine(" in callback " + CName); + Console.WriteLine(" in callback " + CName + " **** Stubbing it out ****"); Statistics.ThrottledCount++; - return; + parms = null; } StreamWriter sw = CreateWriter (); diff --git a/sample/Makefile.in b/sample/Makefile.in index a6566d049..e4d8ebd12 100755 --- a/sample/Makefile.in +++ b/sample/Makefile.in @@ -6,7 +6,7 @@ windows: $(CSC) /unsafe /out:gtk-hello-world.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gdk/gdk-sharp.dll HelloWorld.cs $(CSC) /unsafe /out:button.exe /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll ButtonApp.cs -linux: gtk-hello-world.exe button.exe +linux: gtk-hello-world.exe button.exe menu.exe gtk-hello-world.exe: HelloWorld.cs $(MCS) --unsafe -o gtk-hello-world.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp HelloWorld.cs @@ -14,6 +14,9 @@ gtk-hello-world.exe: HelloWorld.cs button.exe: ButtonApp.cs $(MCS) --unsafe -o button.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp -r System.Drawing ButtonApp.cs +menu.exe: Menu.cs + $(MCS) --unsafe -o menu.exe -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -r gtk-sharp -r System.Drawing Menu.cs + clean: rm -f *.exe