Show desktop deprecated function.

Alexandre Moreira alexandream at gmail.com
Sun Aug 26 03:47:37 CEST 2007


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.



More information about the Xfce4-dev mailing list