updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / pdfmod / 0001-Force-use-of-the-overloaded-implicit-operator-of-Hye.patch
blobf10066ca288ea8220150c39c03ebdef1f6f776e3
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.
6 ---
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
15 if (to_index < 0)
16 return;
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);
22 action.Do ();
23 --
24 1.7.4.1