summaryrefslogtreecommitdiffstats
path: root/input/main.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-03-19 14:58:44 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-03-19 14:58:44 +0000
commitf2c6a6f2debcccfb51d239834c3cf91a2c3a6c40 (patch)
tree2a83d19fc07684f6713dd901f46f04858a78bc3d /input/main.c
parent0ac929228aa1eb823f37776e2bbb84855417c66e (diff)
Moving input functions to the right files
Diffstat (limited to 'input/main.c')
-rw-r--r--input/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/input/main.c b/input/main.c
index 688c8a58..2a6b3b59 100644
--- a/input/main.c
+++ b/input/main.c
@@ -41,7 +41,6 @@
#include "manager.h"
#include "server.h"
-#include "device.h"
static GMainLoop *main_loop;
@@ -71,7 +70,7 @@ int main(int argc, char *argv[])
/* Create event loop */
main_loop = g_main_loop_new(NULL, FALSE);
- if (input_dbus_init() < 0) {
+ if (input_init() < 0) {
error("Unable to get on D-Bus");
exit(1);
}
@@ -85,7 +84,7 @@ int main(int argc, char *argv[])
server_stop();
- input_dbus_exit();
+ input_exit();
g_main_loop_unref(main_loop);