summaryrefslogtreecommitdiff
path: root/atk/atkprivate.c
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2023-05-02 16:56:04 -0500
committerMike Gorse <mgorse@suse.com>2023-05-03 17:12:40 -0500
commitf6d5fe5a442348c9631e0214048d2037834f4779 (patch)
tree3ee606b04011f8622dc73f97416e28650e2e169a /atk/atkprivate.c
parentcb3663787d9674ad0fafe20c0ae84ac7f354db82 (diff)
downloadat-spi2-core-f6d5fe5a442348c9631e0214048d2037834f4779.tar.gz
Replace ATK_LOCALEDIR with ATSPI_LOCALEDIR
This will allow the locale directory to be available outside of atk.
Diffstat (limited to 'atk/atkprivate.c')
-rw-r--r--atk/atkprivate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/atk/atkprivate.c b/atk/atkprivate.c
index 9242e14d..be41c470 100644
--- a/atk/atkprivate.c
+++ b/atk/atkprivate.c
@@ -63,10 +63,10 @@ get_atk_locale_dir (void)
const gchar *p;
gchar *root, *temp;
- /* ATK_LOCALEDIR might end in either /lib/locale or
+ /* ATSPI_LOCALEDIR might end in either /lib/locale or
* /share/locale. Scan for that slash.
*/
- p = ATK_LOCALEDIR + strlen (ATK_LOCALEDIR);
+ p = ATSPI_LOCALEDIR + strlen (ATSPI_LOCALEDIR);
while (*--p != '/')
;
while (*--p != '/')
@@ -85,9 +85,9 @@ get_atk_locale_dir (void)
return atk_localedir;
}
-#undef ATK_LOCALEDIR
+#undef ATSPI_LOCALEDIR
-#define ATK_LOCALEDIR get_atk_locale_dir ()
+#define ATSPI_LOCALEDIR get_atk_locale_dir ()
#endif
@@ -103,7 +103,7 @@ _gettext_initialization (void)
gettext_initialized = TRUE;
if (dir == NULL)
- dir = ATK_LOCALEDIR;
+ dir = ATSPI_LOCALEDIR;
bindtextdomain (GETTEXT_PACKAGE, dir);
#ifdef HAVE_BIND_TEXTDOMAIN_CODESET