[f-spot] Fix crash in Gallery-Export startup
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Fix crash in Gallery-Export startup
- Date: Wed, 2 Jun 2010 19:07:39 +0000 (UTC)
commit c0a63765a7e090cd744af76b0a53b1054aad364f
Author: Mike Gemünde <mike gemuende de>
Date: Wed Jun 2 19:08:45 2010 +0200
Fix crash in Gallery-Export startup
A wrong cast prevented the Gallery export window from starting up.
https://bugzilla.gnome.org/show_bug.cgi?id=620379
.../Exporters/GalleryExport/GalleryExport.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/Exporters/GalleryExport/GalleryExport.cs b/extensions/Exporters/GalleryExport/GalleryExport.cs
index ed89907..daff764 100644
--- a/extensions/Exporters/GalleryExport/GalleryExport.cs
+++ b/extensions/Exporters/GalleryExport/GalleryExport.cs
@@ -618,7 +618,7 @@ namespace G2Export {
export_dialog = (Gtk.Dialog) xml.GetWidget ("gallery_export_dialog");
this.items = selection.Items;
- Array.Sort<IBrowsableItem> (this.items as Photo[], new IBrowsableItemComparer.CompareDateName());
+ Array.Sort<IBrowsableItem> (this.items, new IBrowsableItemComparer.CompareDateName());
album_button.Sensitive = false;
IconView view = new IconView (selection);
view.DisplayDates = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]