Show desktop deprecated function.

Alexandre Moreira alexandream at gmail.com
Sun Aug 26 07:07:50 CEST 2007


On 8/26/07, Christian Dywan <christian at twotoasts.de> wrote:
> Am Sat, 25 Aug 2007 22:47:37 -0300
> schrieb "Alexandre Moreira" <alexandream at gmail.com>:
>
> > 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 ?
> >
> > Regards,
> > Alexandre Moreira.
> >
> > [1] : xfce-panel package, plugins/showdesktop directory, showdesktop.c
> > file at line 93.
>
> The reason is that g_object_ref_sink depends on GTK+ 2.10.

Oh, thanks. This is, indeed, a very good reason :)

>
> Yours,
>     Christian
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>



More information about the Xfce4-dev mailing list