[gtk+/wip/baedert/drawing: 11/23] window: Fix annotations in get_size and get_position



commit b33c2f42d28f4802c0194dc009ebf8c3cd12754e
Author: Timm Bäder <mail baedert org>
Date:   Sun Jul 9 08:14:42 2017 +0200

    window: Fix annotations in get_size and get_position

 gtk/gtkwindow.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index f0219f3..f373903 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5254,8 +5254,8 @@ gtk_window_resize (GtkWindow *window,
 /**
  * gtk_window_get_size:
  * @window: a #GtkWindow
- * @width: (out) (nullable): return location for width, or %NULL
- * @height: (out) (nullable): return location for height, or %NULL
+ * @width: (out) (optional): return location for width, or %NULL
+ * @height: (out) (optional): return location for height, or %NULL
  *
  * Obtains the current size of @window.
  *
@@ -5555,9 +5555,9 @@ gtk_window_move (GtkWindow *window,
 /**
  * gtk_window_get_position:
  * @window: a #GtkWindow
- * @root_x: (out) (allow-none): return location for X coordinate of
+ * @root_x: (out) (optional): return location for X coordinate of
  *     gravity-determined reference point, or %NULL
- * @root_y: (out) (allow-none): return location for Y coordinate of
+ * @root_y: (out) (optional): return location for Y coordinate of
  *     gravity-determined reference point, or %NULL
  *
  * This function returns the position you need to pass to


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