1 From 32019c12c3da98b541b2d3044c218d62596c9305 Mon Sep 17 00:00:00 2001
2 From: Nuno Araujo <nuno.araujo@russo79.com>
3 Date: Thu, 17 Mar 2011 20:38:19 +0100
4 Subject: [PATCH] Force use of the overloaded implicit operator of Hyena.Gui.DragDropList to solve mono 2.10 compilation problems.
7 src/PdfMod/Gui/DocumentIconView.cs | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
10 diff --git a/src/PdfMod/Gui/DocumentIconView.cs b/src/PdfMod/Gui/DocumentIconView.cs
11 index 5796c72..386d662 100644
12 --- a/src/PdfMod/Gui/DocumentIconView.cs
13 +++ b/src/PdfMod/Gui/DocumentIconView.cs
14 @@ -319,7 +319,7 @@ namespace PdfMod.Gui
18 - var pages = args.SelectionData.Data as Hyena.Gui.DragDropList<Page>;
19 + Hyena.Gui.DragDropList<Page> pages = args.SelectionData;
20 to_index -= pages.Count (p => p.Index < to_index);
21 var action = new MoveAction (document, pages, to_index);