Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7)

Unified Diff: src/ibusproplist.c

Issue 5517048: Merge the devel branch (Closed) Base URL: git@github.com:phuang/ibus.git@devel
Patch Set: Rebase on HEAD Created 13 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ibusproplist.c
diff --git a/src/ibusproplist.c b/src/ibusproplist.c
index f1c6b27f0dbfc91b822ee6a3828a288a942d4d6d..88245fbaef9e5e7fd5bc647b8038d3ae4ff3b2ae 100644
--- a/src/ibusproplist.c
+++ b/src/ibusproplist.c
@@ -107,7 +107,9 @@ ibus_prop_list_deserialize (IBusPropList *prop_list,
g_return_val_if_fail (iter != NULL, retval);
GVariant *var;
while (g_variant_iter_loop (iter, "v", &var)) {
- ibus_prop_list_append (prop_list, IBUS_PROPERTY (ibus_serializable_deserialize (var)));
+ IBusProperty *prop = IBUS_PROPERTY (ibus_serializable_deserialize (var));
+ g_object_ref_sink (prop);
Yusuke Sato 2012/02/25 15:55:43 the same. backport?
Peng 2012/02/26 21:52:14 Yes
+ ibus_prop_list_append (prop_list, prop);
}
g_variant_iter_free (iter);

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b