diff --git a/ChangeLog b/ChangeLog index dc936bd60..fb4069d6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-14 Mike Kestner + + * gtk/TreeViewColumn.custom : cast Array param to + object[] before indexing into it. + 2003-06-14 Mike Kestner * glib/Value.cs : cast uint to TypeFundamentals diff --git a/gtk/TreeViewColumn.custom b/gtk/TreeViewColumn.custom index 44ae1c1e5..0c6b3be5a 100644 --- a/gtk/TreeViewColumn.custom +++ b/gtk/TreeViewColumn.custom @@ -17,7 +17,7 @@ Title = title; PackStart (cell, true); for (int i = 0; (i + 1) < attrs.Length; i += 2) { - AddAttribute (cell, (string) attrs[i], (int) attrs[i + 1]); + AddAttribute (cell, (string) ((object[])attrs)[i], (int)((object[])attrs)[i + 1]); } }