[gtk+] introspection: Fix (out) for gdk_screen_get_monitor_geometry
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] introspection: Fix (out) for gdk_screen_get_monitor_geometry
- Date: Mon, 6 Dec 2010 16:54:34 +0000 (UTC)
commit 65e3c09139a5df904fb024dc6acf0a519d742d75
Author: Colin Walters <walters verbum org>
Date: Mon Dec 6 11:42:47 2010 -0500
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.
gdk/x11/gdkscreen-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 5927378..362ec48 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -450,7 +450,7 @@ gdk_x11_screen_get_monitor_output (GdkScreen *screen,
* gdk_screen_get_monitor_geometry:
* @screen: a #GdkScreen
* @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
* the individual monitor within the entire screen area.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]