[hyena] [Hyena.Data.Gui] Fix build failure when ENABLE_ATK is false
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena] [Hyena.Data.Gui] Fix build failure when ENABLE_ATK is false
- Date: Mon, 15 Nov 2010 18:11:18 +0000 (UTC)
commit 7fd7e22e69766bb869ce4125bbff0673cfef5ff7
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]