[gtk+/gtk-2-22] [docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"



commit 7d6d1af7a19e16351d898426f8fd5b3f6a045555
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Jun 24 18:13:17 2010 +0200

    [docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"

 gdk/gdkdisplay.c |    6 +++---
 gdk/gdkdraw.c    |    4 ++--
 gtk/gtktable.c   |    4 ++--
 gtk/gtkwidget.c  |    4 ++--
 gtk/gtkwindow.c  |   12 ++++++------
 5 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index ac49a5b..c4baa1d 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -468,9 +468,9 @@ _gdk_display_enable_motion_hints (GdkDisplay *display)
  * @display: a #GdkDisplay
  * @screen: (allow-none): location to store the screen that the
  *          cursor is on, or %NULL.
- * @x: (allow-none): (out): location to store root window X coordinate of pointer, or %NULL.
- * @y: (allow-none): (out): location to store root window Y coordinate of pointer, or %NULL.
- * @mask: (allow-none): (out): location to store current modifier mask, or %NULL
+ * @x: (out) (allow-none): location to store root window X coordinate of pointer, or %NULL.
+ * @y: (out) (allow-none): location to store root window Y coordinate of pointer, or %NULL.
+ * @mask: (out) (allow-none): location to store current modifier mask, or %NULL
  *
  * Gets the current location of the pointer and the current modifier
  * mask for a given display.
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 0e6ccc5..e3737f6 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -142,8 +142,8 @@ gdk_drawable_get_data (GdkDrawable   *drawable,
 /**
  * gdk_drawable_get_size:
  * @drawable: a #GdkDrawable
- * @width: (allow-none): (out): location to store drawable's width, or %NULL
- * @height: (allow-none): (out): location to store drawable's height, or %NULL
+ * @width: (out) (allow-none): location to store drawable's width, or %NULL
+ * @height: (out) (allow-none): location to store drawable's height, or %NULL
  *
  * Fills * width and * height with the size of @drawable.
  * @width or @height can be %NULL if you only want the other one.
diff --git a/gtk/gtktable.c b/gtk/gtktable.c
index 79efc26..22a2838 100644
--- a/gtk/gtktable.c
+++ b/gtk/gtktable.c
@@ -799,9 +799,9 @@ gtk_table_get_homogeneous (GtkTable *table)
 /**
  * gtk_table_get_size:
  * @table: a #GtkTable
- * @rows: (allow-none): (out): return location for the number of
+ * @rows: (out) (allow-none): return location for the number of
  *   rows, or %NULL
- * @columns: (allow-none): (out): return location for the number
+ * @columns: (out) (allow-none): return location for the number
  *   of columns, or %NULL
  *
  * Returns the number of rows and columns in the table.
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 99b77d8..c55fc38 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8012,8 +8012,8 @@ gtk_widget_set_size_request (GtkWidget *widget,
 /**
  * gtk_widget_get_size_request:
  * @widget: a #GtkWidget
- * @width: (allow-none): (out): return location for width, or %NULL
- * @height: (allow-none): (out): return location for height, or %NULL
+ * @width: (out) (allow-none): return location for width, or %NULL
+ * @height: (out) (allow-none): return location for height, or %NULL
  *
  * Gets the size request that was explicitly set for the widget using
  * gtk_widget_set_size_request(). A value of -1 stored in @width or
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index bc64445..3cb1154 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4023,8 +4023,8 @@ gtk_window_resize (GtkWindow *window,
 /**
  * gtk_window_get_size:
  * @window: a #GtkWindow
- * @width: (allow-none): (out): return location for width, or %NULL
- * @height: (allow-none): (out): return location for height, or %NULL
+ * @width: (out) (allow-none): return location for width, or %NULL
+ * @height: (out) (allow-none): return location for height, or %NULL
  *
  * Obtains the current size of @window. If @window is not onscreen,
  * it returns the size GTK+ will suggest to the <link
@@ -7346,10 +7346,10 @@ gtk_window_begin_resize_drag  (GtkWindow    *window,
 /**
  * gtk_window_get_frame_dimensions:
  * @window: a #GtkWindow
- * @left: (allow-none): location to store the width of the frame at the left, or %NULL
- * @top: (allow-none): location to store the height of the frame at the top, or %NULL
- * @right: (allow-none): location to store the width of the frame at the returns, or %NULL
- * @bottom: (allow-none): location to store the height of the frame at the bottom, or %NULL
+ * @left: (out) (allow-none): location to store the width of the frame at the left, or %NULL
+ * @top: (out) (allow-none): location to store the height of the frame at the top, or %NULL
+ * @right: (out) (allow-none): location to store the width of the frame at the returns, or %NULL
+ * @bottom: (out) (allow-none): location to store the height of the frame at the bottom, or %NULL
  *
  * (Note: this is a special-purpose function intended for the
  *  framebuffer port; see gtk_window_set_has_frame(). It will not



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