[PATCH] Fix possible crashers

Pierre-Luc Beaudoin pierre-luc at pierlux.com
Wed Jan 27 06:44:13 PST 2010


On Wed, 2010-01-27 at 14:15 +0000, Bastien Nocera wrote:
> Opinions? 

I believe it would be nicer to use glib-mkenums to generate
geoclue_error_get_type dynamically.

This is how I did it in libchamplain:
http://git.gnome.org/browse/libchamplain/commit/?id=00a10b88ccbf3f5eb9e1de8c82a18eb70598830e

I don't see anything else wrong with your patch.

Pierre-Luc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/geoclue/attachments/20100127/e5143b24/attachment.pgp 


More information about the GeoClue mailing list