mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-22 20:31:07 +00:00
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
This commit is contained in:
parent
5cd8d37664
commit
ccad405077
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2004-04-30 Mike Kestner <mkestner@ximian.com>
|
2004-04-30 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* gdk/glue/makefile.win32 : remove windowmanager.o for now. It
|
* gdk/glue/makefile.win32 : remove windowmanager.o for now. It
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<attr path="//object[@cname='GtkHTML']/signal[@name='Command']" name="name">OnCommand</attr>
|
<attr path="//object[@cname='GtkHTML']/signal[@name='Command']" name="name">OnCommand</attr>
|
||||||
<attr path="//object[@cname='GtkHTML']/method[@name='BeginContent']" name="name">Begin</attr>
|
<attr path="//object[@cname='GtkHTML']/method[@name='BeginContent']" name="name">Begin</attr>
|
||||||
<attr path="//object[@cname='GtkHTML']/method[@name='BeginFull']" name="name">Begin</attr>
|
<attr path="//object[@cname='GtkHTML']/method[@name='BeginFull']" name="name">Begin</attr>
|
||||||
|
<attr path="//struct[@cname='GtkHTMLStream']" name="opaque">1</attr>
|
||||||
<attr path="//struct[@cname='GtkHTMLStream']/method[@name='Write']/*/*[@name='buffer']" name="type">const-guchar*</attr>
|
<attr path="//struct[@cname='GtkHTMLStream']/method[@name='Write']/*/*[@name='buffer']" name="type">const-guchar*</attr>
|
||||||
<attr path="//struct[@cname='GtkHTMLStream']/method[@name='Write']/*/*[@name='buffer']" name="array">1</attr>
|
<attr path="//struct[@cname='GtkHTMLStream']/method[@name='Write']/*/*[@name='buffer']" name="array">1</attr>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|
|
@ -2,5 +2,5 @@ public void Write (string buffer)
|
||||||
{
|
{
|
||||||
byte [] bytes = System.Text.Encoding.UTF8.GetBytes (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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue