summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2018-12-03 11:03:54 +0100
committerMilan Crha <mcrha@redhat.com>2018-12-03 11:03:54 +0100
commit50a15363b1aa816619f4d6cca74e653279fa33e9 (patch)
tree262cf13ba0b39f5fdf23316ec38e54c1880fb37f /config.h.in
parent2aad02605913fc6c8e4ba7d0bf58497a57a9044c (diff)
downloadevolution-data-server-50a15363b1aa816619f4d6cca74e653279fa33e9.tar.gz
[Flatpak] Save passwords in libsecret with the same prefix as used by D-Bus services
As the passwords are saved in the host system, the eds-origin key cannot use the same value as the host system, because otherwise the secret-monitor module of evolution-source-registry would delete the password, because the ESource is unknown to it. Similarly the other way around, the inner (in Flatpak) source registry would delete system passwords, because those ESource-s are unknown to it.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index fe3b5cb5c..4f5d97e1c 100644
--- a/config.h.in
+++ b/config.h.in
@@ -18,6 +18,9 @@
/* Package name for gettext */
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
+/* Defined to prefix used by the D-Bus services (usually when run in Flatpak) */
+#cmakedefine DBUS_SERVICES_PREFIX "@DBUS_SERVICES_PREFIX@"
+
/* D-Bus service name for the address book factory */
#define ADDRESS_BOOK_DBUS_SERVICE_NAME "@ADDRESS_BOOK_DBUS_SERVICE_NAME@"