xfce systemtray (small) issues
Benedikt Meurer
Benedikt.Meurer at unix-ag.uni-siegen.de
Sat Apr 26 00:12:25 CEST 2003
On Fri, 25, Apr 2003, Olivier Fourdan wrote:
Olivier,
> xfce_systemtray.c: In function `xfce_system_tray_register':
> xfce_systemtray.c:223: warning: implicit declaration of function
> `snprintf'
> xfce_systemtray.c:242: warning: implicit declaration of function `bzero'
>
> 1) snprintf is not available on all platforms, please use glib
> replacement
I wanted to change that, but I forgot about it. Fixed now.
> 2) make sure you include the header for bzero (while I'm at it, I think
> bzero is not available on all platforms either, but I'm not sure)
Its string.h. But bzero is really obsolete and should not be used in
newly written code. memset should be used instead. I fixed that too.
regards,
Benedikt
--
NetBSD Operating system: http://www.NetBSD.org/
pkgsrc "Work in progress": http://pkgsrc-wip.sf.net/
XFce desktop environment: http://www.xfce.org/
German Unix-AG Association: http://www.unix-ag.org/
More information about the Xfce4-dev
mailing list