[at-spi2-core] Add atspi_is_initialized



commit e2dc5271d1a64d5c384eab1a0a76352fee8e8976
Author: Mike Gorse <mgorse suse com>
Date:   Sun Jun 16 14:02:22 2013 -0500

    Add atspi_is_initialized
    
    Added a function to query whether libatspi has been initialized. Used by
    at-spi2-atk. Also, bump version.

 atspi/atspi-misc.c |   13 +++++++++++++
 atspi/atspi-misc.h |    1 +
 configure.ac       |    2 +-
 3 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 0e65fd5..c9fa0ae 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -941,6 +941,19 @@ atspi_init (void)
 }
 
 /**
+ * atspi_is_initialized:
+ *
+ * Indicates whether AT-SPI has been initialized.
+ *
+ * Returns: %True if initialized; %False otherwise.
+ */
+gboolean
+atspi_is_initialized ()
+{
+  return atspi_inited;
+}
+
+/**
  * atspi_event_main:
  *
  * Starts/enters the main event loop for the AT-SPI services.
diff --git a/atspi/atspi-misc.h b/atspi/atspi-misc.h
index f8df0a9..4e9677e 100644
--- a/atspi/atspi-misc.h
+++ b/atspi/atspi-misc.h
@@ -29,6 +29,7 @@
 G_BEGIN_DECLS
 
 int atspi_init (void);
+gboolean atspi_is_initialized (void);
 
 void atspi_event_main ();
 
diff --git a/configure.ac b/configure.ac
index e280b49..227d6ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([at-spi2-core], [2.9.2], [accessibility-atspi lists linux-foundation org])
+AC_INIT([at-spi2-core], [2.9.3], [accessibility-atspi lists linux-foundation org])
 AC_PREREQ([2.59])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR([m4])


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