]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
2007-07-24 Richard Hughes <richard@hughsie.com>
authorRichard Hughes <richard@hughsie.com>
Tue, 24 Jul 2007 12:14:51 +0000 (12:14 +0000)
committerRichard Hughes <richard@hughsie.com>
Tue, 24 Jul 2007 12:14:51 +0000 (12:14 +0000)
* bus/activation.c:
* bus/desktop-file.h:
Move the defines into the header file, as we use these in the lauch
helper as well as the desktop file parsing.

ChangeLog
bus/activation.c
bus/desktop-file.h

index da2406ffd2f8f55669224f26a8c1f092e1a31f6f..4d7029fb84166f82cb0bcc6c37e379da83b36a13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-24  Richard Hughes  <richard@hughsie.com>
+
+       * bus/activation.c:
+       * bus/desktop-file.h:
+       Move the defines into the header file, as we use these in the lauch
+       helper as well as the desktop file parsing.
+
 2007-07-24  Richard Hughes  <richard@hughsie.com>
 
        * bus/.cvsignore:
index 89c6df48aa24bda01188357f85ee55082a70069e..06dcf0ad8264483726e2c49b74f708fb4a71b065 100644 (file)
@@ -23,6 +23,7 @@
  *
  */
 #include "activation.h"
+#include "activation-exit-codes.h"
 #include "desktop-file.h"
 #include "services.h"
 #include "test.h"
 #include <errno.h>
 #endif
 
-#define DBUS_SERVICE_SECTION "D-BUS Service"
-#define DBUS_SERVICE_NAME "Name"
-#define DBUS_SERVICE_EXEC "Exec"
-
 struct BusActivation
 {
   int refcount;
index e4b9a6d2ee4e284fe8f23b902560fdc65c3e33fc..549f89a475bee5bdeb5d4ca8c735fd67823a08c1 100644 (file)
 #define BUS_DESKTOP_PARSE_ERROR_INVALID_ESCAPES "org.freedesktop.DBus.DesktopParseError.InvalidEscapes"
 #define BUS_DESKTOP_PARSE_ERROR_INVALID_CHARS   "org.freedesktop.DBus.DesktopParseError.InvalidChars"
 
+#define DBUS_SERVICE_SECTION  "D-BUS Service"
+#define DBUS_SERVICE_NAME     "Name"
+#define DBUS_SERVICE_EXEC     "Exec"
+#define DBUS_SERVICE_USER     "User"
+#define DBUS_SERVICE_GROUP    "Group"
+
 typedef struct BusDesktopFile BusDesktopFile;
 
 BusDesktopFile *bus_desktop_file_load (DBusString     *filename,