[wx-dev] Re: CVS: [PC] wxWidgets/src/gtk artgtk.cpp,1.18,1.19
settings.cpp,1.70,1.71
Paul Cornett
pc-wx at bullseye.com
Fri Jun 22 08:44:16 PDT 2007
Vadim Zeitlin wrote:
> Couldn't we just use g_object_unref() directly here to avoid using
> the deprecated function? Or is there something else it was deprecated
> in favour of?
If you use g_object_unref() directly, you get a warning that you didn't
sink the floating reference. gtk_object_sink() is deprecated in favor of
g_object_ref_sink(), but it is only available in 2.10.
More information about the wx-dev
mailing list