[Monodevelop-patches-list] r2460 - in trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets: . FileBrowser TabLabel Tree
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Sat Apr 16 19:14:46 EDT 2005
Author: jluke
Date: 2005-04-16 19:14:46 -0400 (Sat, 16 Apr 2005)
New Revision: 2460
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/TabLabel/TabLabel.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Tree/TreeView.cs
Log:
fix a few warnings here
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog 2005-04-16 22:53:18 UTC (rev 2459)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog 2005-04-16 23:14:46 UTC (rev 2460)
@@ -1,3 +1,10 @@
+2005-04-16 John Luke <john.luke at gmail.com>
+
+ * Tree/TreeView.cs:
+ * FileBrowser/FileBrowser.cs:
+ * TabLabel/TabLabel.cs: fix warnings mostly about obselete
+ Gtk# API
+
2005-03-15 John Luke <john.luke at gmail.com>
* FileBrowser/FileBrowser.cs: make enum internal
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs 2005-04-16 22:53:18 UTC (rev 2459)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/FileBrowser/FileBrowser.cs 2005-04-16 23:14:46 UTC (rev 2460)
@@ -442,10 +442,6 @@
{
return !hiddenfolders.Contains (folder);
}
-
- void AddLocationEntry (Toolbar tb)
- {
- }
}
public class ToolbarEntry : ToolItem
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/TabLabel/TabLabel.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/TabLabel/TabLabel.cs 2005-04-16 22:53:18 UTC (rev 2459)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/TabLabel/TabLabel.cs 2005-04-16 23:14:46 UTC (rev 2460)
@@ -12,7 +12,6 @@
{
public class TabLabel : HBox
{
- private static GLib.GType gtype;
private Label title;
private Gtk.Image icon;
private Button btn;
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Tree/TreeView.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Tree/TreeView.cs 2005-04-16 22:53:18 UTC (rev 2459)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Tree/TreeView.cs 2005-04-16 23:14:46 UTC (rev 2460)
@@ -3,7 +3,6 @@
namespace MonoDevelop.Gui.Widgets {
public class TreeView: Gtk.TreeView {
- Gtk.TreeView view;
Gtk.TreeStore store;
TreeNodeCollection nodes;
bool updating = false;
@@ -62,7 +61,7 @@
public TreeView (bool edit, Gtk.TreeIterCompareFunc cb_compare) : this (edit)
{
- store.SetDefaultSortFunc (cb_compare, IntPtr.Zero, null);
+ store.SetDefaultSortFunc (cb_compare);
store.SetSortColumnId (/* GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID */ -1, Gtk.SortType.Ascending);
}
@@ -153,7 +152,7 @@
new_child.row = null;
}
- Gtk.TreeIter it = store.Append (parent);
+ Gtk.TreeIter it = store.AppendNode (parent);
// It is *critical* that we set this first. We will
// sort after this call, so we must give as much info
@@ -177,8 +176,7 @@
new_child.row = null;
}
- Gtk.TreeIter it;
- store.Append (out it);
+ Gtk.TreeIter it = store.AppendNode ();
// It is *critical* that we set this first. We will
// sort after this call, so we must give as much info
More information about the Monodevelop-patches-list
mailing list