banshee r4844 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4844 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView
- Date: Tue, 18 Nov 2008 16:33:22 +0000 (UTC)
Author: gburt
Date: Tue Nov 18 16:33:22 2008
New Revision: 4844
URL: http://svn.gnome.org/viewvc/banshee?rev=4844&view=rev
Log:
2008-11-18 Gabriel Burt <gabriel burt gmail com>
* src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:
Patch from Brandon Perry fixing warning that mono svn raises (BGO #561392)
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs (original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs Tue Nov 18 16:33:22 2008
@@ -299,8 +299,7 @@
}
}
- #pragma warning disable 0169
- private bool GetEventCell<T> (int x, int y, out T icell, out Column column, out int row_index) where T : class
+ private bool GetEventCell<G> (int x, int y, out G icell, out Column column, out int row_index) where G : class
{
icell = null;
column = null;
@@ -324,7 +323,7 @@
}
ColumnCell cell = column.GetCell (0);
- icell = cell as T;
+ icell = cell as G;
if (icell == null) {
return false;
}
@@ -333,7 +332,6 @@
cell.BindListItem (model[row_index]);
return true;
}
- #pragma warning restore 0169
#endregion
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]