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:
e7136ce
)
Make code more readable.
author
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 19 May 2009 03:30:30 +0000
(11:30 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 19 May 2009 03:30:30 +0000
(11:30 +0800)
bus/inputcontext.c
patch
|
blob
|
history
diff --git
a/bus/inputcontext.c
b/bus/inputcontext.c
index
8c9805d
..
202f309
100644
(file)
--- a/
bus/inputcontext.c
+++ b/
bus/inputcontext.c
@@
-1654,7
+1654,7
@@
bus_input_context_register_properties (BusInputContext *context,
g_object_unref (priv->props);
}
- priv->props = (IBusPropList *) g_object_ref (props ? props : props_empty);
+ priv->props = (IBusPropList *) g_object_ref (props
!= NULL
? props : props_empty);
if (priv->capabilities & IBUS_CAP_PROPERTY) {
bus_input_context_send_signal (context,