mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 15:25:37 +00:00
Fix the Text property. Patch from Mathias
Hasselmann <mathias.hasselmann@gmx.de>. svn path=/trunk/gtk-sharp/; revision=12564
This commit is contained in:
parent
215133d780
commit
c1444f3883
|
@ -1,3 +1,8 @@
|
|||
2003-03-15 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* gtk/TextBuffer.custom: Fix the Text property. Patch from Mathias
|
||||
Hasselmann <mathias.hasselmann@gmx.de>.
|
||||
|
||||
2003-03-15 Miguel de Icaza <miguel@ximian.com>
|
||||
|
||||
* sample: Update samples to new Glade.Widget.
|
||||
|
|
|
@ -4,7 +4,8 @@ public string Text {
|
|||
}
|
||||
|
||||
set {
|
||||
gtk_text_buffer_set_text (Handle, value, value.Length);
|
||||
gtk_text_buffer_set_text (Handle, value,
|
||||
System.Text.Encoding.Default.GetByteCount(value));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue