mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 13:05:49 +00:00
2004-02-17 Jorn Baayen <jorn@nl.linux.org>
* gtk/SelectionData.custom : fix get_data_pointer glue method name. svn path=/trunk/gtk-sharp/; revision=23194
This commit is contained in:
parent
46b9b156a4
commit
dccab828b1
|
@ -1,3 +1,7 @@
|
||||||
|
2004-02-17 Jorn Baayen <jorn@nl.linux.org>
|
||||||
|
|
||||||
|
* gtk/SelectionData.custom : fix get_data_pointer glue method name.
|
||||||
|
|
||||||
2004-02-16 Mike Kestner <mkestner@ximian.com>
|
2004-02-16 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* glib/TypeConverter.cs : check for GType prop on all types,
|
* glib/TypeConverter.cs : check for GType prop on all types,
|
||||||
|
|
|
@ -35,11 +35,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport("gtksharpglue")]
|
[DllImport("gtksharpglue")]
|
||||||
private static extern IntPtr gtksharp_selection_data_get_data_pointer (IntPtr selection_data);
|
private static extern IntPtr gtksharp_gtk_selection_data_get_data_pointer (IntPtr selection_data);
|
||||||
|
|
||||||
public byte[] Data {
|
public byte[] Data {
|
||||||
get {
|
get {
|
||||||
IntPtr data_ptr = gtksharp_selection_data_get_data_pointer (Handle);
|
IntPtr data_ptr = gtksharp_gtk_selection_data_get_data_pointer (Handle);
|
||||||
byte[] result = new byte [Length];
|
byte[] result = new byte [Length];
|
||||||
Marshal.Copy (data_ptr, result, 0, Length);
|
Marshal.Copy (data_ptr, result, 0, Length);
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue