Permalink
Browse files

Fix compiler error when using GTK# 2.12.9

  • Loading branch information...
1 parent f6ba8a5 commit 892986885bcec05c29390f6f56e50c8991955f1f @cameronwhite cameronwhite committed May 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Pinta.Core/HistoryItems/FinishPixelsHistoryItem.cs
View
2 Pinta.Core/HistoryItems/FinishPixelsHistoryItem.cs
@@ -89,7 +89,7 @@ public override void Dispose ()
if (old_surface != null)
(old_surface as IDisposable).Dispose ();
if (old_selection_layer != null)
- old_selection_layer.Dispose ();
+ (old_selection_layer as IDisposable).Dispose ();
}
public void TakeSnapshot ()

0 comments on commit 8929868

Please sign in to comment.