[caribou] daemon: check if atspi bus is ready to use
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou] daemon: check if atspi bus is ready to use
- Date: Mon, 4 Mar 2013 08:06:03 +0000 (UTC)
commit a23201b7341b76d21d3783e0233d81bbf2468912
Author: Daiki Ueno <ueno unixuser org>
Date: Fri Mar 1 19:07:48 2013 +0900
daemon: check if atspi bus is ready to use
https://bugzilla.gnome.org/show_bug.cgi?id=694921
daemon/daemon.vala | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/daemon/daemon.vala b/daemon/daemon.vala
index 2f5feee..70d5fdd 100644
--- a/daemon/daemon.vala
+++ b/daemon/daemon.vala
@@ -183,7 +183,11 @@ static int main (string[] args) {
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
Intl.textdomain (Config.GETTEXT_PACKAGE);
- Atspi.init ();
+ var retval = Atspi.init ();
+ if (retval != 0) {
+ printerr ("can't initialize atspi\n");
+ return 1;
+ }
var daemon = new Caribou.Daemon ();
Unix.signal_add (Posix.SIGINT, () => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]