diff options
Diffstat (limited to 'extra/f-spot/0004-Fix-build-error-with-recent_gtk-sharp.patch')
-rw-r--r-- | extra/f-spot/0004-Fix-build-error-with-recent_gtk-sharp.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/f-spot/0004-Fix-build-error-with-recent_gtk-sharp.patch b/extra/f-spot/0004-Fix-build-error-with-recent_gtk-sharp.patch new file mode 100644 index 000000000..c2869671d --- /dev/null +++ b/extra/f-spot/0004-Fix-build-error-with-recent_gtk-sharp.patch @@ -0,0 +1,15 @@ +from upstream git + +diff --git a/src/Clients/MainApp/FSpot/GroupSelector.cs b/src/Clients/MainApp/FSpot/GroupSelector.cs +index b1e4993..63edd84 100644 +--- a/src/Clients/MainApp/FSpot/GroupSelector.cs ++++ b/src/Clients/MainApp/FSpot/GroupSelector.cs +@@ -467,7 +467,7 @@ namespace FSpot { + bounds.Height = selector.background.Height; + bounds.Y = selector.background.Y; + bounds.X = selector.BoxX (item); +- bounds.Width = Math.Max (selector.BoxX (item + 1) - bounds.X, 1); ++ bounds.Width = Math.Max (selector.BoxX (item + 1) - selector.BoxX (item), 1); + + if (item < 0 || item > selector.box_counts.Length - 1) + return; |