Comment #5 on issue 1177 by [email protected]: ibus_engine_list_engines returns a floating reference with (transfer full)
http://code.google.com/p/ibus/issues/detail?id=1177

I'm confused.

In C, we have to call g_object_unref() for each element in the returned GList, even though they're floating, right? If so, isn't it better to keep using 'transfer full' annotation and call g_object_ref_sink() for the elements in ibus_bus_do_list_engines()?


--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复