Commit 8463d0ee authored by Matthias Clasen's avatar Matthias Clasen

GtkMenuPositionFunc: Correct annotations

x and y are inout, not just out.

https://bugzilla.gnome.org/show_bug.cgi?id=674537
parent b49c7c34
......@@ -82,6 +82,11 @@ Release notes for 3.16
* GTK+ no longer uses gtk-update-icon-cache during its build. The
--enable-gtk2-dependency configure option has been removed.
* The introspection annotations for the x and y parameters of
GtkMenuPositionFunc have been corrected from 'out' to 'inout'.
If you are using such a function from language-bindings, this
may require adjustments.
Release notes for 3.14
======================
......
......@@ -66,9 +66,9 @@ typedef enum
/**
* GtkMenuPositionFunc:
* @menu: a #GtkMenu.
* @x: (out): address of the #gint representing the horizontal
* @x: (inout): address of the #gint representing the horizontal
* position where the menu shall be drawn.
* @y: (out): address of the #gint representing the vertical position
* @y: (inout): address of the #gint representing the vertical position
* where the menu shall be drawn. This is an output parameter.
* @push_in: (out): This parameter controls how menus placed outside
* the monitor are handled. If this is set to %TRUE and part of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment