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:
9d9b4e2
)
Use g_assert to check if connection is alive
author
Peng Huang
<shawn.p.huang@gmail.com>
Thu, 3 Jun 2010 10:13:14 +0000
(18:13 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Thu, 3 Jun 2010 15:14:20 +0000
(23:14 +0800)
src/ibusconnection.c
patch
|
blob
|
history
diff --git
a/src/ibusconnection.c
b/src/ibusconnection.c
index
018119c
..
94a25ea
100644
(file)
--- a/
src/ibusconnection.c
+++ b/
src/ibusconnection.c
@@
-738,7
+738,7
@@
ibus_connection_call_with_reply_valist (IBusConnection *connection,
g_assert (path != NULL);
g_assert (interface != NULL);
g_assert (member != NULL);
- g_
return_val_if_fail (ibus_connection_is_connected (connection), FALSE
);
+ g_
assert (ibus_connection_is_connected (connection)
);
IBusConnectionPrivate *priv;
priv = IBUS_CONNECTION_GET_PRIVATE (connection);