[at-spi2-core] Fix for BGO#657585: The bus launcher should not flush a NULL display
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix for BGO#657585: The bus launcher should not flush a NULL display
- Date: Mon, 29 Aug 2011 12:48:50 +0000 (UTC)
commit 35f56a5a49bd4e9cc5bd47ced297a4ed7aef9e76
Author: Mike Gorse <mgorse novell com>
Date: Mon Aug 29 07:48:53 2011 -0500
Fix for BGO#657585: The bus launcher should not flush a NULL display
bus/at-spi-bus-launcher.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
index dff7ede..76b7060 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -192,9 +192,9 @@ ensure_a11y_bus (A11yBusLauncher *app)
bus_address_atom,
XA_STRING, 8, PropModeReplace,
(guchar *) app->a11y_bus_address, strlen (app->a11y_bus_address));
+ XFlush (display);
+ XCloseDisplay (display);
}
- XFlush (display);
- XCloseDisplay (display);
}
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]