[PATCH] Fix possible crashers

Bastien Nocera hadess at hadess.net
Wed Jan 27 07:06:01 PST 2010


On Wed, 2010-01-27 at 09:44 -0500, Pierre-Luc Beaudoin wrote:
> 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.

Done.

Cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-error-type-registration.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/geoclue/attachments/20100127/597dd898/attachment.bin 


More information about the GeoClue mailing list