[at-spi2-core] Fix documentation annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix documentation annotations
- Date: Thu, 17 May 2018 14:47:39 +0000 (UTC)
commit 32e3c1cdd092891b041e177a506d2e01ad2c4647
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu May 17 15:19:35 2018 +0100
Fix documentation annotations
We're missing an annotation for the GError parameter, and the name of
the AtspiCoordType argument needs to match in the header and source
files.
atspi/atspi-component.c | 1 +
atspi/atspi-component.h | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-component.c b/atspi/atspi-component.c
index d485dba..ed22582 100644
--- a/atspi/atspi-component.c
+++ b/atspi/atspi-component.c
@@ -445,6 +445,7 @@ atspi_component_scroll_to (AtspiComponent *obj,
* the screen, to the window, or to the parent object.
* @x: the x coordinate of the point to reach
* @y: the y coordinate of the point to reach
+ * @error: return location for a #GError
*
* Scrolls whatever container of the #AtspiComponent object so it becomes
* visible on the screen at a given position.
diff --git a/atspi/atspi-component.h b/atspi/atspi-component.h
index ffc720b..c84232d 100644
--- a/atspi/atspi-component.h
+++ b/atspi/atspi-component.h
@@ -109,7 +109,7 @@ gboolean atspi_component_set_size (AtspiComponent *obj, gint width, gint height,
gboolean atspi_component_scroll_to (AtspiComponent *obj, AtspiScrollType type, GError **error);
-gboolean atspi_component_scroll_to_point (AtspiComponent *obj, AtspiCoordType type, gint x, gint y, GError
**error);
+gboolean atspi_component_scroll_to_point (AtspiComponent *obj, AtspiCoordType coords, gint x, gint y, GError
**error);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]