From ccad405077aadde73f5cb5841b4378c9fca7c676 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 3 May 2004 14:40:16 +0000 Subject: [PATCH] 2004-05-03 Miguel de Icaza * gtkhtml/Gtk.metadata: Patch from Mike Kestner: make GtkHTMLStream opaque, to fix a bug that was found by running Monodoc on MacOS X. We were passing a pointer to a managed object, instead of a pointer to a HTMLStream-allocated object. * HTMLStream.custom: Update custom file to reflect change to Opaque: use Handle instead of this. svn path=/trunk/gtk-sharp/; revision=26587 --- ChangeLog | 10 ++++++++++ gtkhtml/Gtk.metadata | 1 + gtkhtml/HTMLStream.custom | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b73d2cc4d..078fd8900 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-05-03 Miguel de Icaza + + * gtkhtml/Gtk.metadata: Patch from Mike Kestner: make + GtkHTMLStream opaque, to fix a bug that was found by running + Monodoc on MacOS X. We were passing a pointer to a managed + object, instead of a pointer to a HTMLStream-allocated object. + + * HTMLStream.custom: Update custom file to reflect change to + Opaque: use Handle instead of this. + 2004-04-30 Mike Kestner * gdk/glue/makefile.win32 : remove windowmanager.o for now. It diff --git a/gtkhtml/Gtk.metadata b/gtkhtml/Gtk.metadata index f2a65afec..aa44703f3 100644 --- a/gtkhtml/Gtk.metadata +++ b/gtkhtml/Gtk.metadata @@ -3,6 +3,7 @@ OnCommand Begin Begin + 1 const-guchar* 1 diff --git a/gtkhtml/HTMLStream.custom b/gtkhtml/HTMLStream.custom index d11a6fea4..20f764ad2 100644 --- a/gtkhtml/HTMLStream.custom +++ b/gtkhtml/HTMLStream.custom @@ -2,5 +2,5 @@ public void Write (string buffer) { byte [] bytes = System.Text.Encoding.UTF8.GetBytes (buffer); - gtk_html_stream_write (ref this, bytes, bytes.Length); + gtk_html_stream_write (Handle, bytes, bytes.Length); }