introspection: Fix (out) for gdk_screen_get_monitor_geometry

Scanner doesn't detect this case correctly because it's a typedef;
work around it here by explicitly specifying that it's caller
allocates.  See bug 636393 for the scanner issue.
This commit is contained in:
Colin Walters 2010-12-06 11:42:47 -05:00
parent 66f0f55b62
commit 65e3c09139

View File

@ -450,7 +450,7 @@ gdk_x11_screen_get_monitor_output (GdkScreen *screen,
* gdk_screen_get_monitor_geometry: * gdk_screen_get_monitor_geometry:
* @screen: a #GdkScreen * @screen: a #GdkScreen
* @monitor_num: the monitor number, between 0 and gdk_screen_get_n_monitors (screen) * @monitor_num: the monitor number, between 0 and gdk_screen_get_n_monitors (screen)
* @dest: (out) (allow-none): a #GdkRectangle to be filled with the monitor geometry * @dest: (out caller-allocates) (allow-none): a #GdkRectangle to be filled with the monitor geometry
* *
* Retrieves the #GdkRectangle representing the size and position of * Retrieves the #GdkRectangle representing the size and position of
* the individual monitor within the entire screen area. * the individual monitor within the entire screen area.