]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-3.0: Mark Device.grab cursor parameter to be nullable
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 30 Apr 2011 15:33:28 +0000 (17:33 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 09:25:53 +0000 (11:25 +0200)
Fixes bug 649011.

vapi/gdk-3.0.vapi
vapi/packages/gdk-3.0/gdk-3.0.metadata

index 3f48b73c85096fccf20372b2b7455f87de2a0fe4..fba20d42a4f6bfb544092199458b24dd614cabbc 100644 (file)
@@ -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 ();
index c293f7122e02b14f3fa6bf3d98f7e3e017b97490..27cca223708b83b524764a86db0e30862339df60 100644 (file)
@@ -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"