From 5886376b4dca452df51b4ebebf957dd2fc014d41 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Tue, 27 Oct 2020 15:00:16 +0000
Subject: [PATCH] launcher: Move generic D-Bus constants to a common header

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 pressure-vessel/launcher.h | 4 ----
 pressure-vessel/utils.h    | 4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pressure-vessel/launcher.h b/pressure-vessel/launcher.h
index b36e3eca8..d61091b73 100644
--- a/pressure-vessel/launcher.h
+++ b/pressure-vessel/launcher.h
@@ -33,10 +33,6 @@
 
 #include "launcher1.h"
 
-#define DBUS_NAME_DBUS "org.freedesktop.DBus"
-#define DBUS_INTERFACE_DBUS DBUS_NAME_DBUS
-#define DBUS_PATH_DBUS "/org/freedesktop/DBus"
-
 #define LAUNCHER_IFACE "com.steampowered.PressureVessel.Launcher1"
 #define LAUNCHER_PATH "/com/steampowered/PressureVessel/Launcher1"
 
diff --git a/pressure-vessel/utils.h b/pressure-vessel/utils.h
index 4ab9d0a3a..109595344 100644
--- a/pressure-vessel/utils.h
+++ b/pressure-vessel/utils.h
@@ -27,6 +27,10 @@
 
 #include <glib.h>
 
+#define DBUS_NAME_DBUS "org.freedesktop.DBus"
+#define DBUS_INTERFACE_DBUS DBUS_NAME_DBUS
+#define DBUS_PATH_DBUS "/org/freedesktop/DBus"
+
 #ifndef PR_GET_CHILD_SUBREAPER
 #define PR_GET_CHILD_SUBREAPER 37
 #endif
-- 
GitLab