[hyena/banshee-stable] [Hyena.Data.Gui] Fix build failure when ENABLE_ATK is false



commit d8e45156e8209bcf50a7c4ba5473a884451b3b63
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Mon Nov 15 19:04:31 2010 +0100

    [Hyena.Data.Gui] Fix build failure when ENABLE_ATK is false

 .../Hyena.Data.Gui/ListView/ListView_Accessible.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Accessible.cs b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Accessible.cs
index edcc6ca..e6e9869 100644
--- a/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Accessible.cs
+++ b/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Accessible.cs
@@ -40,7 +40,9 @@ namespace Hyena.Data.Gui
 {
     public partial class ListView<T> : ListViewBase
     {
+#if ENABLE_ATK
         internal ListViewAccessible<T> accessible;
+#endif
 
         static ListView ()
         {
@@ -148,9 +150,11 @@ namespace Hyena.Data.Gui
 
         private void AccessibleCellRedrawn (int column, int row)
         {
+#if ENABLE_ATK
             if (accessible != null) {
                 accessible.CellRedrawn (column, row);
             }
+#endif
         }
 
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]