From 418d60d8df4510fd329394787fed091caf569054 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Tue, 2 Jan 2007 17:45:09 +0000 Subject: [PATCH] 2006-12-28 Brad Taylor * sample/GtkDemo/Makefile.am: * sample/GtkDemo/DemoPrinting.cs: Fix build on Win32. svn path=/trunk/gtk-sharp/; revision=70373 --- ChangeLog | 5 +++++ sample/GtkDemo/DemoPrinting.cs | 6 +++--- sample/GtkDemo/Makefile.am | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 92a2d2e5d..ccc185c64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-28 Brad Taylor + + * sample/GtkDemo/Makefile.am: + * sample/GtkDemo/DemoPrinting.cs: Fix build on Win32. + 2006-08-21 Mike Kestner * bootstrap-2.10 : tag and bump version to 2.10.0. diff --git a/sample/GtkDemo/DemoPrinting.cs b/sample/GtkDemo/DemoPrinting.cs index 82da21a97..f326f390f 100644 --- a/sample/GtkDemo/DemoPrinting.cs +++ b/sample/GtkDemo/DemoPrinting.cs @@ -31,9 +31,9 @@ namespace GtkDemo { print = new PrintOperation (); - print.BeginPrint += OnBeginPrint; - print.DrawPage += OnDrawPage; - print.EndPrint += OnEndPrint; + print.BeginPrint += new BeginPrintHandler (OnBeginPrint); + print.DrawPage += new DrawPageHandler (OnDrawPage); + print.EndPrint += new EndPrintHandler (OnEndPrint); print.Run (PrintOperationAction.PrintDialog, null); } diff --git a/sample/GtkDemo/Makefile.am b/sample/GtkDemo/Makefile.am index fabcd50b4..20e7d4910 100644 --- a/sample/GtkDemo/Makefile.am +++ b/sample/GtkDemo/Makefile.am @@ -1,5 +1,5 @@ assemblies = ../../glib/glib-sharp.dll ../../pango/pango-sharp.dll ../../atk/atk-sharp.dll ../../gdk/gdk-sharp.dll ../../gtk/gtk-sharp.dll -references = $(addprefix /r:, $(assemblies)) -r:Mono.Cairo +references = $(addprefix /r:, $(assemblies)) @MONO_CAIRO_LIBS@ TARGETS = GtkDemo.exe DEBUGS = $(addsuffix .mdb, $(TARGETS)) CLEANFILES = $(TARGETS) $(DEBUGS)