[at-spi2-atk] Namespace the exported API
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Namespace the exported API
- Date: Thu, 14 Jun 2012 17:14:23 +0000 (UTC)
commit c80d57315ed612873d8ceb7d37482a1e5c12f216
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 13 19:22:48 2012 +0100
Namespace the exported API
https://bugzilla.gnome.org/show_bug.cgi?id=678051
atk-adaptor/atk-bridge.h | 4 ++--
atk-adaptor/atkbridge.symbols | 4 ++--
atk-adaptor/bridge.c | 4 ++--
atk-adaptor/gtk-2.0/module.c | 6 +++---
atk-adaptor/gtk-3.0/module.c | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/atk-adaptor/atk-bridge.h b/atk-adaptor/atk-bridge.h
index ae0fcc5..e17d8aa 100644
--- a/atk-adaptor/atk-bridge.h
+++ b/atk-adaptor/atk-bridge.h
@@ -27,8 +27,8 @@
G_BEGIN_DECLS
-int adaptor_init (int * argc, char ** argv[]);
-void adaptor_cleanup (void);
+int atk_bridge_adaptor_init (int * argc, char ** argv[]);
+void atk_bridge_adaptor_cleanup (void);
G_END_DECLS
diff --git a/atk-adaptor/atkbridge.symbols b/atk-adaptor/atkbridge.symbols
index bf71c16..d90cf94 100644
--- a/atk-adaptor/atkbridge.symbols
+++ b/atk-adaptor/atkbridge.symbols
@@ -1,2 +1,2 @@
-adaptor_init
-adaptor_cleanup
+atk_bridge_adaptor_init
+atk_bridge_adaptor_cleanup
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index 1ee9ba9..ff5c320 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -710,7 +710,7 @@ signal_filter (DBusConnection *bus, DBusMessage *message, void *user_data)
*
*/
int
-adaptor_init (gint * argc, gchar ** argv[])
+atk_bridge_adaptor_init (gint * argc, gchar ** argv[])
{
GOptionContext *opt;
GError *err = NULL;
@@ -851,7 +851,7 @@ adaptor_init (gint * argc, gchar ** argv[])
}
void
-adaptor_cleanup (void)
+atk_bridge_adaptor_cleanup (void)
{
GList *l;
GSList *ls;
diff --git a/atk-adaptor/gtk-2.0/module.c b/atk-adaptor/gtk-2.0/module.c
index a7251d2..93a1905 100644
--- a/atk-adaptor/gtk-2.0/module.c
+++ b/atk-adaptor/gtk-2.0/module.c
@@ -37,7 +37,7 @@ gtk_module_init (gint * argc, gchar ** argv[])
if (!load_bridge || g_ascii_strtod (load_bridge, NULL) == 0)
{
- return adaptor_init (argc, argv);
+ return atk_bridge_adaptor_init (argc, argv);
}
return 0;
}
@@ -57,7 +57,7 @@ gnome_accessibility_module_init (void)
if (!load_bridge || g_ascii_strtod (load_bridge, NULL) == 0)
{
- adaptor_init (NULL, NULL);
+ atk_bridge_adaptor_init (NULL, NULL);
if (g_getenv ("AT_SPI_DEBUG"))
{
@@ -69,5 +69,5 @@ gnome_accessibility_module_init (void)
void
gnome_accessibility_module_shutdown (void)
{
- adaptor_cleanup ();
+ atk_bridge_adaptor_cleanup ();
}
diff --git a/atk-adaptor/gtk-3.0/module.c b/atk-adaptor/gtk-3.0/module.c
index 0483cca..5f724eb 100644
--- a/atk-adaptor/gtk-3.0/module.c
+++ b/atk-adaptor/gtk-3.0/module.c
@@ -37,7 +37,7 @@ gtk_module_init (gint * argc, gchar ** argv[])
if (!load_bridge || g_ascii_strtod (load_bridge, NULL) == 0)
{
- return adaptor_init (argc, argv);
+ return atk_bridge_adaptor_init (argc, argv);
}
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]