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:
18d497a
)
Dont need set "" to icon anymore.
author
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 13 Oct 2009 06:15:57 +0000
(14:15 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Tue, 13 Oct 2009 06:15:57 +0000
(14:15 +0800)
src/ibusproperty.c
patch
|
blob
|
history
diff --git
a/src/ibusproperty.c
b/src/ibusproperty.c
index f220847c3b92ab089dc6e3b0779b71778106ddd5..c33fe37abfb98128191209379aea84ed6d041140 100644
(file)
--- a/
src/ibusproperty.c
+++ b/
src/ibusproperty.c
@@
-315,8
+315,7
@@
ibus_property_set_icon (IBusProperty *prop,
g_assert (IBUS_IS_PROPERTY (prop));
g_free (prop->icon);
- prop->icon = NULL;
- prop->icon = g_strdup (icon != NULL ? icon : "");
+ prop->icon = g_strdup (icon);
}
void