[banshee] [ListView] Fix build on older mono
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [ListView] Fix build on older mono
- Date: Tue, 30 Mar 2010 20:49:37 +0000 (UTC)
commit 91a58fd0f983706688740a29b0274eef2d1c71f4
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Tue Mar 30 22:46:21 2010 +0200
[ListView] 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/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
index 05511c2..8b14a9e 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Rendering.cs
+++ b/src/Libraries/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]