GNOME Bugzilla – Bug 647500
f-spot crashes when invoking the gallery exporter
Last modified: 2012-03-05 23:13:01 UTC
Created attachment 185756 [details] debug log see also: https://bugzilla.novell.com/show_bug.cgi?id=684969 The exception happens at: http://git.gnome.org/browse/f-spot/tree/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryExport.cs?id=0.8.2#n259 the reason is that gallery_optionmenu.Active is -1 if no entry has been selected.
Created attachment 185757 [details] [review] avoid -1 index access This patch is still against git master. Let me know if 0.8.X development takes place elsewhere.
Since I convert accounts from ArrayList to List unboxing the value is no longer needed. I applied the patch manually instead and gave credit in the commit message.