Re: [Vala] Problems with ref functions that returns void.



On Fri, 2009-01-02 at 05:03 +0000, Alberto Ruiz wrote:

gconf_entry_ref returns nothing; How to handle this? Shall someone file
a bug to GConf to ask them to return the object pointer in
gconf_entry_ref?

gconf is pretty much unmaintained, besides, that API is public hence
it's not possible to change it's return value

the first part is mostly correct, even though bug fixes are still
applied.

the second part (API update) is possible, as it would be an
ABI-compatible change (applications written without using the function
as a rvalue would still work correctly).

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]