mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-23 21:10:59 +00:00
2009-03-28 Christian Hoff <christian_hoff@gmx.net>
* gtk/TextBuffer.custom: Use the right overload of Marshal.Copy [Fixes #480010] svn path=/trunk/gtk-sharp/; revision=130461
This commit is contained in:
parent
01ed1a5e3e
commit
30b112fb2a
|
@ -1,3 +1,8 @@
|
||||||
|
2009-03-28 Christian Hoff <christian_hoff@gmx.net>
|
||||||
|
|
||||||
|
* gtk/TextBuffer.custom: Use the right overload of Marshal.Copy
|
||||||
|
[Fixes #480010]
|
||||||
|
|
||||||
2009-03-19 Christian Hoff <christian_hoff@gmx.net>
|
2009-03-19 Christian Hoff <christian_hoff@gmx.net>
|
||||||
|
|
||||||
* parser/gapi2xml.pl: Introduce a "parser_version" attribute.
|
* parser/gapi2xml.pl: Introduce a "parser_version" attribute.
|
||||||
|
|
|
@ -159,7 +159,7 @@ public byte[] Serialize(Gtk.TextBuffer content_buffer, Gdk.Atom format, Gtk.Text
|
||||||
return new byte [0];
|
return new byte [0];
|
||||||
int sz = (int) (uint) length;
|
int sz = (int) (uint) length;
|
||||||
byte[] ret = new byte [sz];
|
byte[] ret = new byte [sz];
|
||||||
Marshal.Copy (ret, 0, raw_ret, sz);
|
Marshal.Copy (raw_ret, ret, 0, sz);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue