[evolution-data-server/gnome-3-30] [Flatpak] Make alarm-notify use the D-Bus services prefix, if specified
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-30] [Flatpak] Make alarm-notify use the D-Bus services prefix, if specified
- Date: Thu, 6 Dec 2018 08:08:54 +0000 (UTC)
commit d9c59ad295b326d79cd0953733a3dbc25fa4c541
Author: Milan Crha <mcrha redhat com>
Date: Thu Dec 6 09:06:28 2018 +0100
[Flatpak] Make alarm-notify use the D-Bus services prefix, if specified
Without it the process cannot own the D-Bus name, thus it doesn't start.
src/services/evolution-alarm-notify/e-alarm-notify.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/services/evolution-alarm-notify/e-alarm-notify.c
b/src/services/evolution-alarm-notify/e-alarm-notify.c
index 67a9024c8..96a8f2993 100644
--- a/src/services/evolution-alarm-notify/e-alarm-notify.c
+++ b/src/services/evolution-alarm-notify/e-alarm-notify.c
@@ -34,7 +34,11 @@
#include "e-alarm-notify.h"
+#ifdef DBUS_SERVICES_PREFIX
+#define APPLICATION_ID DBUS_SERVICES_PREFIX "." "org.gnome.Evolution-alarm-notify"
+#else
#define APPLICATION_ID "org.gnome.Evolution-alarm-notify"
+#endif
struct _EAlarmNotifyPrivate {
ESourceRegistry *registry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]