GtkSharp/gtkhtml/HTMLStream.custom
Miguel de Icaza ccad405077 2004-05-03 Miguel de Icaza <miguel@ximian.com>
* 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
2004-05-03 14:40:16 +00:00

7 lines
155 B
Plaintext

public void Write (string buffer)
{
byte [] bytes = System.Text.Encoding.UTF8.GetBytes (buffer);
gtk_html_stream_write (Handle, bytes, bytes.Length);
}