[at-spi2-atk/infapi00/document-atk-bridget-adaptor-init] atk-adaptor: document atk_bridge_adaptor_init error messages



commit a895639fcc8e0e304b8a68ed061de9e5c3e6db33
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Tue Apr 2 16:17:24 2019 +0200

    atk-adaptor: document atk_bridge_adaptor_init error messages

 atk-adaptor/bridge.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index 0b2b736..19cd32a 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -957,8 +957,8 @@ spi_atk_activate ()
     }
 }
 
-/*
- * spi_app_init
+/**
+ * atk_bridge_adaptor_init: initializes the atk bridge adaptor
  *
  * The following needs to be initialized.
  *
@@ -967,6 +967,8 @@ spi_atk_activate ()
  * - setup the bus for p2p communication
  * - Application registration with the AT-SPI registry.
  *
+ * Returns: 0 if the bridge gets or was already initialized
+ * succesfully, -1 otherwise
  */
 int
 atk_bridge_adaptor_init (gint * argc, gchar ** argv[])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]