[MonoDevelop] CompletionWindow.cs build patch

Casey Winans casey@cwinans.com
Mon, 19 Jan 2004 14:19:54 -0500


--=-Ody7ixzU4ckwgvdzqclE
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I was having issues build the latest revision (currently at 571). I've
patched
MonoDevelop/src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs in order to get the TextEditor to build.

If this is not the optimal solution please let me know, because I'm just
learning the Gtk API now and it's quite foreign to me at the moment.

-- 
Casey Winans <casey@cwinans.com>

--=-Ody7ixzU4ckwgvdzqclE
Content-Disposition: attachment; filename=MonoDevelop-CompletionWindow-20040119.diff
Content-Type: text/x-patch; name=MonoDevelop-CompletionWindow-20040119.diff; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs
===================================================================
--- src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs	(revision 571)
+++ src/Libraries/ICSharpCode.TextEditor/src/Gui/CompletionWindow/CompletionWindow.cs	(working copy)
@@ -295,7 +295,7 @@
 				
 				Gtk.TreePath path = store.GetPath (iter);
 				Gdk.Rectangle rect;
-				rect = listView.GetCellArea (path, (Gtk.TreeViewColumn)listView.Columns[0]);
+				listView.GetCellArea (path, (Gtk.TreeViewColumn)listView.Columns[0], out rect);
 
 				int x, y;
 				listView.TreeToWidgetCoords (rect.x, rect.y, out x, out y);

--=-Ody7ixzU4ckwgvdzqclE--