projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
748b6b1
)
Flush connection to make sure IBus.Exit has been sent before process exiting.
author
Peng Huang
<phuang@phuang.nay.redhat.com>
Fri, 13 Feb 2009 06:10:57 +0000
(14:10 +0800)
committer
Peng Huang
<phuang@phuang.nay.redhat.com>
Fri, 13 Feb 2009 06:10:57 +0000
(14:10 +0800)
src/ibusbus.c
patch
|
blob
|
history
diff --git
a/src/ibusbus.c
b/src/ibusbus.c
index
7b6af04
..
a567359
100644
(file)
--- a/
src/ibusbus.c
+++ b/
src/ibusbus.c
@@
-639,6
+639,9
@@
ibus_bus_exit (IBusBus *bus,
{
g_assert (IBUS_IS_BUS (bus));
+ IBusBusPrivate *priv;
+ priv = IBUS_BUS_GET_PRIVATE (bus);
+
gboolean result;
result = ibus_bus_call (bus,
IBUS_SERVICE_IBUS,
@@
-648,6
+651,8
@@
ibus_bus_exit (IBusBus *bus,
G_TYPE_BOOLEAN, &restart,
G_TYPE_INVALID,
G_TYPE_INVALID);
+ ibus_connection_flush (priv->connection);
+
return result;
}