[hyena] Fix build on older mono



commit d1174675f0bbda06d3326d67174dd9b62508da96
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Tue Mar 30 22:46:21 2010 +0200

    Fix build on older mono
    
    Work around bug in mono 1.9.1 (bnc#396633)

 .../Hyena.Data.Gui/ListView/ListView_Rendering.cs  |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs b/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
index 05511c2..8b14a9e 100644
--- a/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
+++ b/src/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
@@ -54,7 +54,12 @@ namespace Hyena.Data.Gui
             get { return theme; }
         }
 
-        public bool DoNotRenderNullModel { get; set; }
+        // Using an auto-property here makes the build fail with mono 1.9.1 (bnc#396633)
+        private bool do_not_render_null_model;
+        public bool DoNotRenderNullModel {
+            get { return do_not_render_null_model; }
+            set { do_not_render_null_model = value; }
+        }
 
         private bool changing_style = false;
 



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