From b0aeb32b14f8768e65de4da4db713fafcacba718 Mon Sep 17 00:00:00 2001 From: Monsta Date: Wed, 2 Sep 2015 16:40:34 +0300 Subject: mate-rr: annotation fixes mostly ported from https://git.gnome.org/browse/gnome-desktop/commit?id=6f1368bbc7d6649ed9340806def01ff00c407121 --- libmate-desktop/mate-rr-output-info.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libmate-desktop/mate-rr-output-info.c') diff --git a/libmate-desktop/mate-rr-output-info.c b/libmate-desktop/mate-rr-output-info.c index 7e5a8ee..02ea16a 100644 --- a/libmate-desktop/mate-rr-output-info.c +++ b/libmate-desktop/mate-rr-output-info.c @@ -116,6 +116,16 @@ void mate_rr_output_info_get_geometry (MateRROutputInfo *self, int *x, int *y, i *height = self->priv->height; } +/** + * mate_rr_output_info_set_geometry: + * @self: a #MateRROutputInfo + * @x: x offset for monitor + * @y: y offset for monitor + * @width: monitor width + * @height: monitor height + * + * Set the geometry for the monitor connected to the specified output. + */ void mate_rr_output_info_set_geometry (MateRROutputInfo *self, int x, int y, int width, int height) { g_return_if_fail (MATE_IS_RR_OUTPUT_INFO (self)); -- cgit v1.2.1