[at-spi2-atk] Initialize app_bus_addr if p2p is disabled
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Initialize app_bus_addr if p2p is disabled
- Date: Mon, 3 Jan 2011 18:40:56 +0000 (UTC)
commit de9d1b1f20698318d069b7c408ab8c765e3a41bf
Author: Mike Gorse <mgorse novell com>
Date: Mon Jan 3 12:43:37 2011 -0600
Initialize app_bus_addr if p2p is disabled
atk-adaptor/bridge.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index 6e74fcd..a1cfa90 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -321,6 +321,8 @@ app->app_bus_addr = g_malloc(max_addr_length * sizeof(char));
#ifndef DISABLE_P2P
sprintf(app->app_bus_addr, "unix:path=/tmp/at-spi2/socket-%d-%d", getpid(),
rand());
+#else
+ app->app_bus_addr [0] = '\0';
#endif
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]