GtkMenuPositionFunc: Correct annotations
x and y are inout, not just out. https://bugzilla.gnome.org/show_bug.cgi?id=674537
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user