From df008ef97deacd5bb00ac335e5d8671798fa09dd Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 6 Apr 2003 23:53:27 +0000 Subject: 2003-04-06 Havoc Pennington * dbus/Makefile.am: split lists of sources into stuff that goes in the library, util functions that go in the lib and are also used elsewhere, and util functions that are used in tests/daemon but don't go in the lib. * dbus/dbus-mainloop.h, dbus/dbus-mainloop.c: move bus/loop.[hc] here so it can be used in test binaries also --- bus/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bus/main.c') diff --git a/bus/main.c b/bus/main.c index d18d61ac..ef3f013c 100644 --- a/bus/main.c +++ b/bus/main.c @@ -21,7 +21,6 @@ * */ #include "bus.h" -#include "loop.h" #include #include #include @@ -40,7 +39,7 @@ signal_handler (int sig) case SIGHUP: got_sighup = TRUE; case SIGTERM: - bus_loop_quit (bus_context_get_loop (context)); + _dbus_loop_quit (bus_context_get_loop (context)); break; } } @@ -230,7 +229,7 @@ main (int argc, char **argv) _dbus_set_signal_handler (SIGTERM, signal_handler); _dbus_verbose ("We are on D-Bus...\n"); - bus_loop_run (bus_context_get_loop (context)); + _dbus_loop_run (bus_context_get_loop (context)); bus_context_shutdown (context); bus_context_unref (context); -- cgit