mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 11:05:30 +00:00
Update to Gtk+ 3.0.0 API.
* configure.ac: require gtk+-3.0.0 and glib-2.28.0 * gdk/gdk-api.raw: reparse * gdk/gdk-symbols.xml: add alias for Window (XID) to gulong * gtk/Plug.custom: update custom ctors to ulong XID versions. * gtk/gtk-api.raw: reparse * gtk/gtk-sharp.dll.config.in: change dllname remap to match 3.0.0 so. * sources/.gitignore: fix glib and gtk+ dirs * sources/Makefile.am: update to gtk+ 3.0.0 * sources/sources.xml: update to gtk+ 3.0.0
This commit is contained in:
parent
1794158599
commit
3ed7e0901e
|
@ -165,8 +165,8 @@ AC_SUBST(LIB_PREFIX)
|
||||||
AC_SUBST(LIB_SUFFIX)
|
AC_SUBST(LIB_SUFFIX)
|
||||||
AC_SUBST(GENERATED_SOURCES)
|
AC_SUBST(GENERATED_SOURCES)
|
||||||
|
|
||||||
GTK_REQUIRED_VERSION=2.99.0
|
GTK_REQUIRED_VERSION=3.0.0
|
||||||
GLIB_REQUIRED_VERSION=2.27.90
|
GLIB_REQUIRED_VERSION=2.28.0
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GLIB, gobject-2.0 >= $GLIB_REQUIRED_VERSION)
|
PKG_CHECK_MODULES(GLIB, gobject-2.0 >= $GLIB_REQUIRED_VERSION)
|
||||||
AC_SUBST(GLIB_CFLAGS)
|
AC_SUBST(GLIB_CFLAGS)
|
||||||
|
|
128
gdk/gdk-api.raw
128
gdk/gdk-api.raw
|
@ -125,10 +125,10 @@
|
||||||
<member cname="GDK_ACTION_ASK" name="Ask" value="1 << 5" />
|
<member cname="GDK_ACTION_ASK" name="Ask" value="1 << 5" />
|
||||||
</enum>
|
</enum>
|
||||||
<enum name="DragProtocol" cname="GdkDragProtocol" gtype="gdk_drag_protocol_get_type" type="enum">
|
<enum name="DragProtocol" cname="GdkDragProtocol" gtype="gdk_drag_protocol_get_type" type="enum">
|
||||||
|
<member cname="GDK_DRAG_PROTO_NONE" name="None" />
|
||||||
<member cname="GDK_DRAG_PROTO_MOTIF" name="Motif" />
|
<member cname="GDK_DRAG_PROTO_MOTIF" name="Motif" />
|
||||||
<member cname="GDK_DRAG_PROTO_XDND" name="Xdnd" />
|
<member cname="GDK_DRAG_PROTO_XDND" name="Xdnd" />
|
||||||
<member cname="GDK_DRAG_PROTO_ROOTWIN" name="Rootwin" />
|
<member cname="GDK_DRAG_PROTO_ROOTWIN" name="Rootwin" />
|
||||||
<member cname="GDK_DRAG_PROTO_NONE" name="None" />
|
|
||||||
<member cname="GDK_DRAG_PROTO_WIN32_DROPFILES" name="Win32Dropfiles" />
|
<member cname="GDK_DRAG_PROTO_WIN32_DROPFILES" name="Win32Dropfiles" />
|
||||||
<member cname="GDK_DRAG_PROTO_OLE2" name="Ole2" />
|
<member cname="GDK_DRAG_PROTO_OLE2" name="Ole2" />
|
||||||
<member cname="GDK_DRAG_PROTO_LOCAL" name="Local" />
|
<member cname="GDK_DRAG_PROTO_LOCAL" name="Local" />
|
||||||
|
@ -871,10 +871,7 @@
|
||||||
<method vm="get_cursor_for_name" />
|
<method vm="get_cursor_for_name" />
|
||||||
<method vm="get_cursor_for_pixbuf" />
|
<method vm="get_cursor_for_pixbuf" />
|
||||||
<method vm="list_devices" />
|
<method vm="list_devices" />
|
||||||
<method vm="send_client_message" />
|
|
||||||
<method vm="add_client_message_filter" />
|
|
||||||
<method vm="get_app_launch_context" />
|
<method vm="get_app_launch_context" />
|
||||||
<method vm="get_drag_protocol" />
|
|
||||||
<method vm="before_process_all_updates" />
|
<method vm="before_process_all_updates" />
|
||||||
<method vm="after_process_all_updates" />
|
<method vm="after_process_all_updates" />
|
||||||
<method vm="get_next_serial" />
|
<method vm="get_next_serial" />
|
||||||
|
@ -1027,33 +1024,10 @@
|
||||||
<return-type type="GList*" />
|
<return-type type="GList*" />
|
||||||
<parameters />
|
<parameters />
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
<virtual_method name="SendClientMessage" cname="send_client_message">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkEvent*" name="event" />
|
|
||||||
<parameter type="GdkNativeWindow" name="winid" />
|
|
||||||
</parameters>
|
|
||||||
</virtual_method>
|
|
||||||
<virtual_method name="AddClientMessageFilter" cname="add_client_message_filter">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkAtom" name="message_type" />
|
|
||||||
<parameter type="GdkFilterFunc" name="func" />
|
|
||||||
<parameter type="gpointer" name="data" />
|
|
||||||
</parameters>
|
|
||||||
</virtual_method>
|
|
||||||
<virtual_method name="GetAppLaunchContext" cname="get_app_launch_context">
|
<virtual_method name="GetAppLaunchContext" cname="get_app_launch_context">
|
||||||
<return-type type="GdkAppLaunchContext*" />
|
<return-type type="GdkAppLaunchContext*" />
|
||||||
<parameters />
|
<parameters />
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
<virtual_method name="GetDragProtocol" cname="get_drag_protocol">
|
|
||||||
<return-type type="GdkNativeWindow" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkNativeWindow" name="winid" />
|
|
||||||
<parameter type="GdkDragProtocol*" name="protocol" />
|
|
||||||
<parameter type="guint*" name="version" />
|
|
||||||
</parameters>
|
|
||||||
</virtual_method>
|
|
||||||
<virtual_method name="BeforeProcessAllUpdates" cname="before_process_all_updates">
|
<virtual_method name="BeforeProcessAllUpdates" cname="before_process_all_updates">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters />
|
<parameters />
|
||||||
|
@ -1128,7 +1102,7 @@
|
||||||
<virtual_method name="SendSelectionNotify" cname="send_selection_notify">
|
<virtual_method name="SendSelectionNotify" cname="send_selection_notify">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="GdkNativeWindow" name="requestor" />
|
<parameter type="GdkWindow*" name="requestor" />
|
||||||
<parameter type="GdkAtom" name="selection" />
|
<parameter type="GdkAtom" name="selection" />
|
||||||
<parameter type="GdkAtom" name="target" />
|
<parameter type="GdkAtom" name="target" />
|
||||||
<parameter type="GdkAtom" name="property" />
|
<parameter type="GdkAtom" name="property" />
|
||||||
|
@ -1169,14 +1143,6 @@
|
||||||
<parameter type="const-gchar*" name="text" />
|
<parameter type="const-gchar*" name="text" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
<method name="AddClientMessageFilter" cname="gdk_display_add_client_message_filter">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkAtom" name="message_type" />
|
|
||||||
<parameter type="GdkFilterFunc" name="func" />
|
|
||||||
<parameter type="gpointer" name="data" />
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Beep" cname="gdk_display_beep">
|
<method name="Beep" cname="gdk_display_beep">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
</method>
|
</method>
|
||||||
|
@ -1930,12 +1896,6 @@
|
||||||
<parameter type="gint*" name="count" />
|
<parameter type="gint*" name="count" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</virtual_method>
|
</virtual_method>
|
||||||
<method name="BroadcastClientMessage" cname="gdk_screen_broadcast_client_message">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkEvent*" name="event" />
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="GetActiveWindow" cname="gdk_screen_get_active_window">
|
<method name="GetActiveWindow" cname="gdk_screen_get_active_window">
|
||||||
<return-type type="GdkWindow*" />
|
<return-type type="GdkWindow*" />
|
||||||
</method>
|
</method>
|
||||||
|
@ -2395,6 +2355,12 @@
|
||||||
<method name="GetDisplay" cname="gdk_window_get_display">
|
<method name="GetDisplay" cname="gdk_window_get_display">
|
||||||
<return-type type="GdkDisplay*" />
|
<return-type type="GdkDisplay*" />
|
||||||
</method>
|
</method>
|
||||||
|
<method name="GetDragProtocol" cname="gdk_window_get_drag_protocol">
|
||||||
|
<return-type type="GdkDragProtocol" />
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GdkWindow**" name="target" />
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
<method name="GetEffectiveParent" cname="gdk_window_get_effective_parent">
|
<method name="GetEffectiveParent" cname="gdk_window_get_effective_parent">
|
||||||
<return-type type="GdkWindow*" />
|
<return-type type="GdkWindow*" />
|
||||||
</method>
|
</method>
|
||||||
|
@ -2977,14 +2943,6 @@
|
||||||
<field name="XRoot" cname="x_root" type="gdouble" />
|
<field name="XRoot" cname="x_root" type="gdouble" />
|
||||||
<field name="YRoot" cname="y_root" type="gdouble" />
|
<field name="YRoot" cname="y_root" type="gdouble" />
|
||||||
</struct>
|
</struct>
|
||||||
<struct name="EventClient" cname="GdkEventClient">
|
|
||||||
<field name="Type" cname="type" type="GdkEventType" />
|
|
||||||
<field name="Window" cname="window" type="GdkWindow*" />
|
|
||||||
<field name="SendEvent" cname="send_event" type="gint8" />
|
|
||||||
<field name="MessageType" cname="message_type" type="GdkAtom" />
|
|
||||||
<field name="DataFormat" cname="data_format" type="gushort" />
|
|
||||||
<field name="B" cname="b" array_len="20" type="char" />
|
|
||||||
</struct>
|
|
||||||
<struct name="EventConfigure" cname="GdkEventConfigure">
|
<struct name="EventConfigure" cname="GdkEventConfigure">
|
||||||
<field name="Type" cname="type" type="GdkEventType" />
|
<field name="Type" cname="type" type="GdkEventType" />
|
||||||
<field name="Window" cname="window" type="GdkWindow*" />
|
<field name="Window" cname="window" type="GdkWindow*" />
|
||||||
|
@ -3072,7 +3030,7 @@
|
||||||
<field name="Type" cname="type" type="GdkEventType" />
|
<field name="Type" cname="type" type="GdkEventType" />
|
||||||
<field name="Window" cname="window" type="GdkWindow*" />
|
<field name="Window" cname="window" type="GdkWindow*" />
|
||||||
<field name="SendEvent" cname="send_event" type="gint8" />
|
<field name="SendEvent" cname="send_event" type="gint8" />
|
||||||
<field name="Owner" cname="owner" type="GdkNativeWindow" />
|
<field name="Owner" cname="owner" type="GdkWindow*" />
|
||||||
<field name="Reason" cname="reason" type="GdkOwnerChange" />
|
<field name="Reason" cname="reason" type="GdkOwnerChange" />
|
||||||
<field name="Selection" cname="selection" type="GdkAtom" />
|
<field name="Selection" cname="selection" type="GdkAtom" />
|
||||||
<field name="Time" cname="time" type="guint32" />
|
<field name="Time" cname="time" type="guint32" />
|
||||||
|
@ -3114,7 +3072,7 @@
|
||||||
<field name="Target" cname="target" type="GdkAtom" />
|
<field name="Target" cname="target" type="GdkAtom" />
|
||||||
<field name="Property" cname="property" type="GdkAtom" />
|
<field name="Property" cname="property" type="GdkAtom" />
|
||||||
<field name="Time" cname="time" type="guint32" />
|
<field name="Time" cname="time" type="guint32" />
|
||||||
<field name="Requestor" cname="requestor" type="GdkNativeWindow" />
|
<field name="Requestor" cname="requestor" type="GdkWindow*" />
|
||||||
</struct>
|
</struct>
|
||||||
<struct name="EventSetting" cname="GdkEventSetting">
|
<struct name="EventSetting" cname="GdkEventSetting">
|
||||||
<field name="Type" cname="type" type="GdkEventType" />
|
<field name="Type" cname="type" type="GdkEventType" />
|
||||||
|
@ -3156,7 +3114,6 @@
|
||||||
<field name="Group" cname="group" type="gint" />
|
<field name="Group" cname="group" type="gint" />
|
||||||
<field name="Level" cname="level" type="gint" />
|
<field name="Level" cname="level" type="gint" />
|
||||||
</struct>
|
</struct>
|
||||||
<alias name="NativeWindow" cname="GdkNativeWindow" type="guint32" />
|
|
||||||
<struct name="OffscreenWindow" cname="GdkOffscreenWindow" opaque="true">
|
<struct name="OffscreenWindow" cname="GdkOffscreenWindow" opaque="true">
|
||||||
<method name="GetEmbedder" cname="gdk_offscreen_window_get_embedder" shared="true">
|
<method name="GetEmbedder" cname="gdk_offscreen_window_get_embedder" shared="true">
|
||||||
<return-type type="GdkWindow*" />
|
<return-type type="GdkWindow*" />
|
||||||
|
@ -3267,14 +3224,6 @@
|
||||||
</method>
|
</method>
|
||||||
</struct>
|
</struct>
|
||||||
<class name="Global" cname="GdkGlobal">
|
<class name="Global" cname="GdkGlobal">
|
||||||
<method name="AddClientMessageFilter" cname="gdk_add_client_message_filter" shared="true">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkAtom" name="message_type" />
|
|
||||||
<parameter type="GdkFilterFunc" name="func" />
|
|
||||||
<parameter type="gpointer" name="data" />
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="AddOptionEntriesLibgtkOnly" cname="gdk_add_option_entries_libgtk_only" shared="true">
|
<method name="AddOptionEntriesLibgtkOnly" cname="gdk_add_option_entries_libgtk_only" shared="true">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -3408,8 +3357,8 @@
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="cairo_t*" name="cr" />
|
<parameter type="cairo_t*" name="cr" />
|
||||||
<parameter type="const-GdkPixbuf*" name="pixbuf" />
|
<parameter type="const-GdkPixbuf*" name="pixbuf" />
|
||||||
<parameter type="double" name="pixbuf_x" />
|
<parameter type="gdouble" name="pixbuf_x" />
|
||||||
<parameter type="double" name="pixbuf_y" />
|
<parameter type="gdouble" name="pixbuf_y" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SetSourceRgba" cname="gdk_cairo_set_source_rgba" shared="true">
|
<method name="SetSourceRgba" cname="gdk_cairo_set_source_rgba" shared="true">
|
||||||
|
@ -3424,8 +3373,8 @@
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="cairo_t*" name="cr" />
|
<parameter type="cairo_t*" name="cr" />
|
||||||
<parameter type="GdkWindow*" name="window" />
|
<parameter type="GdkWindow*" name="window" />
|
||||||
<parameter type="double" name="x" />
|
<parameter type="gdouble" name="x" />
|
||||||
<parameter type="double" name="y" />
|
<parameter type="gdouble" name="y" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
|
@ -3477,14 +3426,6 @@
|
||||||
<parameter type="GdkDragProtocol*" name="protocol" />
|
<parameter type="GdkDragProtocol*" name="protocol" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetProtocolForDisplay" cname="gdk_drag_get_protocol_for_display" shared="true">
|
|
||||||
<return-type type="GdkNativeWindow" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkDisplay*" name="display" />
|
|
||||||
<parameter type="GdkNativeWindow" name="xid" />
|
|
||||||
<parameter type="GdkDragProtocol*" name="protocol" />
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="GetSelection" cname="gdk_drag_get_selection" shared="true">
|
<method name="GetSelection" cname="gdk_drag_get_selection" shared="true">
|
||||||
<return-type type="GdkAtom" />
|
<return-type type="GdkAtom" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -3642,27 +3583,6 @@
|
||||||
<parameter type="const-GdkEventMotion*" name="event" />
|
<parameter type="const-GdkEventMotion*" name="event" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="SendClientMessage" cname="gdk_event_send_client_message" shared="true">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkEvent*" name="event" />
|
|
||||||
<parameter type="GdkNativeWindow" name="winid" />
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SendClientMessageForDisplay" cname="gdk_event_send_client_message_for_display" shared="true">
|
|
||||||
<return-type type="gboolean" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkDisplay*" name="display" />
|
|
||||||
<parameter type="GdkEvent*" name="event" />
|
|
||||||
<parameter type="GdkNativeWindow" name="winid" />
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SendClientmessageToall" cname="gdk_event_send_clientmessage_toall" shared="true">
|
|
||||||
<return-type type="void" />
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkEvent*" name="event" />
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetDevice" cname="gdk_event_set_device" shared="true">
|
<method name="SetDevice" cname="gdk_event_set_device" shared="true">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
|
@ -3830,20 +3750,20 @@
|
||||||
<return-type type="GdkPixbuf*" />
|
<return-type type="GdkPixbuf*" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="cairo_surface_t*" name="surface" />
|
<parameter type="cairo_surface_t*" name="surface" />
|
||||||
<parameter type="int" name="src_x" />
|
<parameter type="gint" name="src_x" />
|
||||||
<parameter type="int" name="src_y" />
|
<parameter type="gint" name="src_y" />
|
||||||
<parameter type="int" name="width" />
|
<parameter type="gint" name="width" />
|
||||||
<parameter type="int" name="height" />
|
<parameter type="gint" name="height" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
<method name="GetFromWindow" cname="gdk_pixbuf_get_from_window" shared="true">
|
<method name="GetFromWindow" cname="gdk_pixbuf_get_from_window" shared="true">
|
||||||
<return-type type="GdkPixbuf*" />
|
<return-type type="GdkPixbuf*" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="GdkWindow*" name="window" />
|
<parameter type="GdkWindow*" name="window" />
|
||||||
<parameter type="int" name="src_x" />
|
<parameter type="gint" name="src_x" />
|
||||||
<parameter type="int" name="src_y" />
|
<parameter type="gint" name="src_y" />
|
||||||
<parameter type="int" name="width" />
|
<parameter type="gint" name="width" />
|
||||||
<parameter type="int" name="height" />
|
<parameter type="gint" name="height" />
|
||||||
</parameters>
|
</parameters>
|
||||||
</method>
|
</method>
|
||||||
</class>
|
</class>
|
||||||
|
@ -3996,7 +3916,7 @@
|
||||||
<method name="SendNotify" cname="gdk_selection_send_notify" shared="true">
|
<method name="SendNotify" cname="gdk_selection_send_notify" shared="true">
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="GdkNativeWindow" name="requestor" />
|
<parameter type="GdkWindow*" name="requestor" />
|
||||||
<parameter type="GdkAtom" name="selection" />
|
<parameter type="GdkAtom" name="selection" />
|
||||||
<parameter type="GdkAtom" name="target" />
|
<parameter type="GdkAtom" name="target" />
|
||||||
<parameter type="GdkAtom" name="property" />
|
<parameter type="GdkAtom" name="property" />
|
||||||
|
@ -4007,7 +3927,7 @@
|
||||||
<return-type type="void" />
|
<return-type type="void" />
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type="GdkDisplay*" name="display" />
|
<parameter type="GdkDisplay*" name="display" />
|
||||||
<parameter type="GdkNativeWindow" name="requestor" />
|
<parameter type="GdkWindow*" name="requestor" />
|
||||||
<parameter type="GdkAtom" name="selection" />
|
<parameter type="GdkAtom" name="selection" />
|
||||||
<parameter type="GdkAtom" name="target" />
|
<parameter type="GdkAtom" name="target" />
|
||||||
<parameter type="GdkAtom" name="property" />
|
<parameter type="GdkAtom" name="property" />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<api>
|
<api>
|
||||||
<symbol type="alias" cname="GdkBitmap" name="GdkPixmap" />
|
<symbol type="alias" cname="Window" name="gulong" />
|
||||||
<symbol type="marshal" cname="GdkEvent" name="Gdk.Event" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Gdk.Event.GetEvent ({0})"/>
|
<symbol type="marshal" cname="GdkEvent" name="Gdk.Event" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Gdk.Event.GetEvent ({0})"/>
|
||||||
<symbol type="marshal" cname="GdkEventAny" name="Gdk.Event" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Gdk.Event.GetEvent ({0})"/>
|
<symbol type="marshal" cname="GdkEventAny" name="Gdk.Event" marshal_type="IntPtr" call_fmt="{0}.Handle" from_fmt="Gdk.Event.GetEvent ({0})"/>
|
||||||
<symbol type="manual" cname="GdkEventButton" name="Gdk.EventButton"/>
|
<symbol type="manual" cname="GdkEventButton" name="Gdk.EventButton"/>
|
||||||
|
|
|
@ -22,28 +22,28 @@
|
||||||
|
|
||||||
|
|
||||||
[DllImport ("libgtk-win32-3.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport ("libgtk-win32-3.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern IntPtr gtk_plug_new(uint socket_id);
|
static extern IntPtr gtk_plug_new(UIntPtr socket_id);
|
||||||
|
|
||||||
public Plug (uint socket_id) : base (IntPtr.Zero)
|
public Plug (ulong socket_id) : base (IntPtr.Zero)
|
||||||
{
|
{
|
||||||
if (GetType () != typeof (Plug)) {
|
if (GetType () != typeof (Plug)) {
|
||||||
CreateNativeObject (new string [0], new GLib.Value [0]);
|
CreateNativeObject (new string [0], new GLib.Value [0]);
|
||||||
Construct (socket_id);
|
Construct (socket_id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Raw = gtk_plug_new(socket_id);
|
Raw = gtk_plug_new (new UIntPtr (socket_id));
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport ("libgtk-win32-3.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
[DllImport ("libgtk-win32-3.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||||
static extern IntPtr gtk_plug_new_for_display(IntPtr display, uint socket_id);
|
static extern IntPtr gtk_plug_new_for_display(IntPtr display, UIntPtr socket_id);
|
||||||
|
|
||||||
public Plug (Gdk.Display display, uint socket_id) : base (IntPtr.Zero)
|
public Plug (Gdk.Display display, ulong socket_id) : base (IntPtr.Zero)
|
||||||
{
|
{
|
||||||
if (GetType () != typeof (Plug)) {
|
if (GetType () != typeof (Plug)) {
|
||||||
CreateNativeObject (new string [0], new GLib.Value [0]);
|
CreateNativeObject (new string [0], new GLib.Value [0]);
|
||||||
ConstructForDisplay (display, socket_id);
|
ConstructForDisplay (display, socket_id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Raw = gtk_plug_new_for_display(display.Handle, socket_id);
|
Raw = gtk_plug_new_for_display (display.Handle, new UIntPtr (socket_id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
560
gtk/gtk-api.raw
560
gtk/gtk-api.raw
File diff suppressed because it is too large
Load diff
|
@ -2,5 +2,5 @@
|
||||||
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
||||||
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
||||||
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
||||||
<dllmap dll="libgtk-win32-3.0-0.dll" target="libgtk-3.0@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
<dllmap dll="libgtk-win32-3.0-0.dll" target="libgtk-3@LIB_PREFIX@.0@LIB_SUFFIX@"/>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
4
sources/.gitignore
vendored
4
sources/.gitignore
vendored
|
@ -1,5 +1,5 @@
|
||||||
atk-1.32.0/
|
atk-1.32.0/
|
||||||
gdk-pixbuf-2.22.1/
|
gdk-pixbuf-2.22.1/
|
||||||
glib-2.27.90/
|
glib-2.28.0/
|
||||||
gtk+-2.99.0/
|
gtk+-3.0.0/
|
||||||
pango-1.28.3/
|
pango-1.28.3/
|
||||||
|
|
|
@ -3,14 +3,14 @@ EXTRA_DIST = \
|
||||||
sources.xml \
|
sources.xml \
|
||||||
gtk_tree_model_signal_fix.patch
|
gtk_tree_model_signal_fix.patch
|
||||||
|
|
||||||
TARGET_GTK_VERSION=2.99.0
|
TARGET_GTK_VERSION=3.0.0
|
||||||
|
|
||||||
GTK_DOWNLOADS = \
|
GTK_DOWNLOADS = \
|
||||||
http://ftp.gnome.org/pub/GNOME/sources/glib/2.27/glib-2.27.90.tar.bz2 \
|
http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/glib-2.28.0.tar.bz2 \
|
||||||
http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.3.tar.bz2 \
|
http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.3.tar.bz2 \
|
||||||
http://ftp.gnome.org/pub/GNOME/sources/atk/1.32/atk-1.32.0.tar.bz2 \
|
http://ftp.gnome.org/pub/GNOME/sources/atk/1.32/atk-1.32.0.tar.bz2 \
|
||||||
http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.22/gdk-pixbuf-2.22.1.tar.bz2 \
|
http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.22/gdk-pixbuf-2.22.1.tar.bz2 \
|
||||||
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.99/gtk+-$(TARGET_GTK_VERSION).tar.bz2
|
http://ftp.gnome.org/pub/GNOME/sources/gtk+/3.0/gtk+-$(TARGET_GTK_VERSION).tar.bz2
|
||||||
|
|
||||||
api:
|
api:
|
||||||
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml
|
PATH=../parser:$$PATH $(RUNTIME) ../parser/gapi-parser.exe sources.xml
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<api filename="../gio/gio-api.raw">
|
<api filename="../gio/gio-api.raw">
|
||||||
<library name="libgio-2.0-0.dll">
|
<library name="libgio-2.0-0.dll">
|
||||||
<namespace name="G">
|
<namespace name="G">
|
||||||
<directory path="glib-2.27.90/gio">
|
<directory path="glib-2.28.0/gio">
|
||||||
<exclude>gasynchelper.h</exclude>
|
<exclude>gasynchelper.h</exclude>
|
||||||
<exclude>gcontenttypeprivate.h</exclude>
|
<exclude>gcontenttypeprivate.h</exclude>
|
||||||
<exclude>gdelayedsettingsbackend.h</exclude>
|
<exclude>gdelayedsettingsbackend.h</exclude>
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
<api filename="../gdk/gdk-api.raw">
|
<api filename="../gdk/gdk-api.raw">
|
||||||
<library name="libgdk-win32-3.0-0.dll">
|
<library name="libgdk-win32-3.0-0.dll">
|
||||||
<namespace name="Gdk">
|
<namespace name="Gdk">
|
||||||
<directory path="gtk+-2.99.0/gdk">
|
<directory path="gtk+-3.0.0/gdk">
|
||||||
<exclude>gdkalias.h</exclude>
|
<exclude>gdkalias.h</exclude>
|
||||||
<exclude>gdkwindowimpl.h</exclude>
|
<exclude>gdkwindowimpl.h</exclude>
|
||||||
<exclude>keyname-table.h</exclude>
|
<exclude>keyname-table.h</exclude>
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
<api filename="../gtk/gtk-api.raw">
|
<api filename="../gtk/gtk-api.raw">
|
||||||
<library name="libgtk-win32-3.0-0.dll">
|
<library name="libgtk-win32-3.0-0.dll">
|
||||||
<namespace name="Gtk">
|
<namespace name="Gtk">
|
||||||
<directory path="gtk+-2.99.0/gtk">
|
<directory path="gtk+-3.0.0/gtk">
|
||||||
<!-- Internal stuff -->
|
<!-- Internal stuff -->
|
||||||
<exclude>gtkalias.h</exclude>
|
<exclude>gtkalias.h</exclude>
|
||||||
<exclude>gtkappchooseronline.h</exclude>
|
<exclude>gtkappchooseronline.h</exclude>
|
||||||
|
|
Loading…
Reference in a new issue