[vala/0.12] gdk-3.0: Mark Device.grab cursor parameter to be nullable



commit 2668921d4a6a83ddce9bf2a8e70e04b068c1aa4b
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Apr 30 17:33:28 2011 +0200

    gdk-3.0: Mark Device.grab cursor parameter to be nullable
    
    Fixes bug 649011.

 vapi/gdk-3.0.vapi                      |    2 +-
 vapi/packages/gdk-3.0/gdk-3.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 3f48b73..fba20d4 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 c293f71..27cca22 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]