Show desktop deprecated function.
Ori Bernstein
ori at eigenstate.org
Sun Aug 26 06:34:31 CEST 2007
On Sat, 25 Aug 2007 22:47:37 -0300
"Alexandre Moreira" <alexandream at gmail.com> wrote:
> Hello, everyone.
>
> I was just reading "Show Desktop" code so I could learn a bit about
> panel plug-in programming and I noticed a small oddity.
>
> Show desktop uses the deprecated gtk_object_sink() instead of
> g_object_ref_sink in it's free_data function [1]. Is there any reason
> why we use this function or is it just there because it's there ?
At an educated guess, it's because that code predates g_object_ref_sink(),
or at least predates the wide deployment of GTK releases that
supported it.
--
Have you noticed that all you need to grow healthy, vigorous grass is a
crack in your sidewalk?
More information about the Xfce4-dev
mailing list