[gtk+] GdkEvent: Turn out parameters optional



commit 76c1337675ad0e3136d6c89b0d1dae6c1edee6c7
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Jul 24 14:36:30 2015 +0200

    GdkEvent: Turn out parameters optional
    
    As pointed out by lazka in IRC, /me clearly out of phase after allow-none.

 gdk/gdkevents.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index b8b9554..8655778 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -996,8 +996,8 @@ gdk_event_get_state (const GdkEvent        *event,
 /**
  * gdk_event_get_coords:
  * @event: a #GdkEvent
- * @x_win: (out) (nullable): location to put event window x coordinate
- * @y_win: (out) (nullable): location to put event window y coordinate
+ * @x_win: (out) (optional): location to put event window x coordinate
+ * @y_win: (out) (optional): location to put event window y coordinate
  * 
  * Extract the event window relative x/y coordinates from an event.
  * 
@@ -1062,8 +1062,8 @@ gdk_event_get_coords (const GdkEvent *event,
 /**
  * gdk_event_get_root_coords:
  * @event: a #GdkEvent
- * @x_root: (out) (nullable): location to put root window x coordinate
- * @y_root: (out) (nullable): location to put root window y coordinate
+ * @x_root: (out) (optional): location to put root window x coordinate
+ * @y_root: (out) (optional): location to put root window y coordinate
  * 
  * Extract the root window relative x/y coordinates from an event.
  * 


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