2008-04-17 Mike Kestner <mkestner@novell.com>
* gtk/TreeModelAdapter.custom: * gtk/TreeModelFilter.custom: * gtk/TreeModelSort.custom: reworked patch from Christian Hoff to throw NotImplementedException for SetValue methods. Those should never have been added to the interface, and it's better to throw an exception than have infinite recursion kill the program. [Fixes #379542] svn path=/trunk/gtk-sharp/; revision=100996
This commit is contained in:
parent
8a29f46b8f
commit
cff6726824
4 changed files with 31 additions and 21 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2008-04-17 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gtk/TreeModelAdapter.custom:
|
||||
* gtk/TreeModelFilter.custom:
|
||||
* gtk/TreeModelSort.custom: reworked patch from Christian Hoff to
|
||||
throw NotImplementedException for SetValue methods. Those should
|
||||
never have been added to the interface, and it's better to throw
|
||||
an exception than have infinite recursion kill the program.
|
||||
[Fixes #379542]
|
||||
|
||||
2008-04-16 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gtk/Gtk.metadata: hide PrintContext.get_CairoContext.
|
||||
|
|
|
@ -42,31 +42,31 @@
|
|||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, bool value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, double value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, int value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, string value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, float value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, uint value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, object value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public object GetValue (Gtk.TreeIter iter, int column) {
|
||||
|
|
|
@ -21,31 +21,31 @@
|
|||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, bool value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, double value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, int value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, string value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, float value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, uint value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, object value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public object GetValue (Gtk.TreeIter iter, int column) {
|
||||
|
|
|
@ -44,31 +44,31 @@
|
|||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, bool value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, double value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, int value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, string value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, float value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, uint value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetValue (Gtk.TreeIter iter, int column, object value) {
|
||||
SetValue (iter, column, new GLib.Value (value));
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public Gtk.TreeIter AppendValues (params object[] values) {
|
||||
|
|
Loading…
Reference in a new issue