From: Luca Bruno Date: Sat, 30 Apr 2011 15:33:28 +0000 (+0200) Subject: gdk-3.0: Mark Device.grab cursor parameter to be nullable X-Git-Tag: 0.12.1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2668921d4a6a83ddce9bf2a8e70e04b068c1aa4b;p=thirdparty%2Fvala.git gdk-3.0: Mark Device.grab cursor parameter to be nullable Fixes bug 649011. --- diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index 3f48b73c8..fba20d42a 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -74,7 +74,7 @@ namespace Gdk { public Gdk.InputSource get_source (); public void get_state (Gdk.Window window, double axes, Gdk.ModifierType mask); public unowned Gdk.Window get_window_at_position (int win_x, int win_y); - public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor cursor, uint32 time_); + public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time_); public static bool grab_info_libgtk_only (Gdk.Display display, Gdk.Device device, out unowned Gdk.Window grab_window, bool owner_events); public unowned GLib.List list_axes (); public unowned GLib.List list_slave_devices (); diff --git a/vapi/packages/gdk-3.0/gdk-3.0.metadata b/vapi/packages/gdk-3.0/gdk-3.0.metadata index c293f7122..27cca2237 100644 --- a/vapi/packages/gdk-3.0/gdk-3.0.metadata +++ b/vapi/packages/gdk-3.0/gdk-3.0.metadata @@ -17,6 +17,7 @@ GdkDevice.axes is_array="1" GdkDevice.keys is_array="1" gdk_device_get_axis.axes is_array="1" no_array_length="1" gdk_device_get_axis.value is_out="1" +gdk_device_grab.cursor nullable="1" GdkDeviceAxis is_value_type="1" GdkDeviceClass hidden="1" GdkDeviceKey is_value_type="1"