mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 16:35:32 +00:00
9f3cd6ae80
* glue/selectiondata.c : new glue to make SelectionData opaque * glue/Makefile.am : add file * glue/makefile.win32 : add file * gtk/Gtk.metadata : mark SelectionData opaque, unhide Set method * gtk/SelectionData.custom : invoke glue methods for opaque fields. * gtk/gtk-api.xml : regen * sample/TestDnd.cs : update to new SelectionData API. svn path=/trunk/gtk-sharp/; revision=21502
26 lines
540 B
C
26 lines
540 B
C
/* selectiondata.c : Glue to access fields of GtkSelectionData
|
|
*
|
|
* Author: Mike Kestner <mkestner@speakeasy.net>
|
|
*
|
|
* <c> 2003 Novell, Inc.
|
|
*/
|
|
|
|
#include <gtk/gtkwidget.h>
|
|
#include <gtk/gtkselection.h>
|
|
|
|
gint gtksharp_gtk_selection_data_get_length (GtkSelectionData *data);
|
|
gint gtksharp_gtk_selection_data_get_format (GtkSelectionData *data);
|
|
|
|
gint
|
|
gtksharp_gtk_selection_data_get_length (GtkSelectionData *data)
|
|
{
|
|
return data->length;
|
|
}
|
|
|
|
gint
|
|
gtksharp_gtk_selection_data_get_format (GtkSelectionData *data)
|
|
{
|
|
return data->format;
|
|
}
|
|
|