aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:55:47 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-06 11:55:47 +0100
commit7a4c5c6175cd4cbcde8433be29ecfabf6a3dd8d0 (patch)
tree4a7f8972996ab537d0936f2f7639123ba0ca8356 /src
parent86bf6f75914bb7e4ed1bfdf5690a98d0d97d0846 (diff)
downloadayatana-indicator-session-7a4c5c6175cd4cbcde8433be29ecfabf6a3dd8d0.tar.gz
ayatana-indicator-session-7a4c5c6175cd4cbcde8433be29ecfabf6a3dd8d0.tar.bz2
ayatana-indicator-session-7a4c5c6175cd4cbcde8433be29ecfabf6a3dd8d0.zip
Rename GNOMELOCALEDIR -> LOCALEDIR.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9653e3a..2a3acfd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -20,7 +20,7 @@ set (SERVICE_EXEC "ayatana-indicator-session-service")
set_property (SOURCE main.c
APPEND PROPERTY COMPILE_DEFINITIONS
GETTEXT_PACKAGE="${GETTEXT_PACKAGE}"
- GNOMELOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
+ LOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
add_executable (${SERVICE_EXEC} main.c)
target_link_libraries (${SERVICE_EXEC} libayatanaindicatorsessionservice backenddbus ${SERVICE_LIBRARIES} ${GCOV_LIBS})
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR})
diff --git a/src/main.c b/src/main.c
index 6452ac0..11e9071 100644
--- a/src/main.c
+++ b/src/main.c
@@ -51,7 +51,7 @@ main (int argc G_GNUC_UNUSED, char ** argv G_GNUC_UNUSED)
/* boilerplate i18n */
setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
textdomain (GETTEXT_PACKAGE);
/* run */