Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_PdfMod_Gui_DocumentIconView.cs,v 1.1 2014/05/26 09:34:15 wiz Exp $
Fix build with mono-2.10, from git.
--- src/PdfMod/Gui/DocumentIconView.cs.orig 2011-03-03 15:51:49.000000000 +0000
+++ src/PdfMod/Gui/DocumentIconView.cs
@@ -319,7 +319,7 @@ namespace PdfMod.Gui
if (to_index < 0)
return;
- var pages = args.SelectionData.Data as Hyena.Gui.DragDropList<Page>;
+ Hyena.Gui.DragDropList<Page> pages = args.SelectionData;
to_index -= pages.Count (p => p.Index < to_index);
var action = new MoveAction (document, pages, to_index);
action.Do ();