http://codereview.appspot.com/3162041/diff/2001/bus/registry.c File bus/registry.c (right): http://codereview.appspot.com/3162041/diff/2001/bus/registry.c#newcode151 bus/registry.c:151: g_object_set_data ((GObject *) desc, "component", comp); I think those code is not necessary anymore. Because in component.c, it will be set. http://codereview.appspot.com/3162041/diff/2001/bus/registry.c#newcode244 bus/registry.c:244: #define g_string_append_indent (string, indent) \ Probably it will cause compile problems.
Fixed all. Thanks. http://codereview.appspot.com/3162041/diff/2001/bus/registry.c File bus/registry.c (right): http://codereview.appspot.com/3162041/diff/2001/bus/registry.c#newcode151 bus/registry.c:151: g_object_set_data ((GObject *) desc, "component", comp); agreed. removed the set_data call. On 2010/11/17 08:24:43, Shawn.P.Huang wrote: > I think those code is not necessary anymore. Because in component.c, it will be > set. http://codereview.appspot.com/3162041/diff/2001/bus/registry.c#newcode244 bus/registry.c:244: #define g_string_append_indent (string, indent) \ oops, reverted the typo. confirmed that the new patch set can compile. On 2010/11/17 08:24:43, Shawn.P.Huang wrote: > Probably it will cause compile problems.
LGTM Thanks.