summaryrefslogtreecommitdiff
path: root/bus
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2010-08-27 16:51:44 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2010-09-27 21:53:32 +0200
commitf6a67597dcba127ceafa5322152a468069912422 (patch)
tree1884c374fc1e8b33d5155881afaf7e0235305b37 /bus
parent63d3e3d9d4ebc808eaa1b12a0e4f603c04854e9f (diff)
Extended autolaunch protocol with scope attribute.
Diffstat (limited to 'bus')
-rw-r--r--bus/main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/bus/main.c b/bus/main.c
index b25c945c..53038dbd 100644
--- a/bus/main.c
+++ b/bus/main.c
@@ -503,12 +503,6 @@ main (int argc, char **argv)
exit (1);
}
- is_session_bus = bus_context_get_type(context) != NULL
- && strcmp(bus_context_get_type(context),"session") == 0;
-
- if (is_session_bus)
- _dbus_daemon_publish_session_bus_address (bus_context_get_address (context));
-
/* bus_context_new() closes the print_addr_pipe and
* print_pid_pipe
*/
@@ -529,8 +523,5 @@ main (int argc, char **argv)
bus_context_unref (context);
bus_selinux_shutdown ();
- if (is_session_bus)
- _dbus_daemon_unpublish_session_bus_address ();
-
return 0;
}