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
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* glib/TypeConverter.cs : check for GType prop on all types,
|
||||
|
|
|
@ -35,11 +35,11 @@
|
|||
}
|
||||
|
||||
[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 {
|
||||
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];
|
||||
Marshal.Copy (data_ptr, result, 0, Length);
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue