From 412538b3b9fb424c3af313815c3928a9ec221ad7 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 5 Jun 2013 19:58:22 +0100 Subject: Export dbus_setenv() as a utility function It's sufficiently portable that GLib has an equivalent, and I really don't want to have to either open-code it in dbus-run-session or link dbus-run-session statically. We have enough statically-linked rubbish already. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39196 Reviewed-by: Colin Walters --- test/name-test/test-autolaunch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/name-test') diff --git a/test/name-test/test-autolaunch.c b/test/name-test/test-autolaunch.c index adbeb185..732e6dc7 100644 --- a/test/name-test/test-autolaunch.c +++ b/test/name-test/test-autolaunch.c @@ -8,7 +8,6 @@ #endif #include -#include "dbus/dbus-sysdeps.h" int main (int argc, char *argv[]) @@ -16,7 +15,7 @@ main (int argc, char *argv[]) DBusConnection *conn = NULL; DBusError error; - _dbus_setenv ("DBUS_SESSION_BUS_ADDRESS", NULL); + dbus_setenv ("DBUS_SESSION_BUS_ADDRESS", NULL); dbus_error_init (&error); -- cgit v1.2.3