Show desktop deprecated function.
    Christian Dywan 
    christian at twotoasts.de
       
    Sun Aug 26 06:28:55 CEST 2007
    
    
  
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.
Yours,
    Christian
    
    
More information about the Xfce4-dev
mailing list