2005-01-05 Alp Toker <alp@atoker.com>

* gtk/TextBuffer.custom : Mark SetText obsolete in favour of the Text
  property, and use Text in SetText in the meantime.

svn path=/trunk/gtk-sharp/; revision=38368
This commit is contained in:
Alp Toker 2005-01-05 18:12:16 +00:00
parent 47484b5e24
commit 7cedeca55f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-01-05 Alp Toker <alp@atoker.com>
* gtk/TextBuffer.custom : Mark SetText obsolete in favour of the Text
property, and use Text in SetText in the meantime.
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen'd.

View File

@ -83,9 +83,10 @@ public void InsertWithTagsByName (ref TextIter iter, string text, params string[
}
}
[Obsolete("Use the TextView.Text property's setter")]
public void SetText (string text)
{
gtk_text_buffer_set_text (Handle, text, -1);
Text = text;
}
[DllImport("libgtk-win32-2.0-0.dll")]