diff --git a/ChangeLog b/ChangeLog index 50d21d0a0..e9dccc6ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-05 Alp Toker + + * 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 * gtk/gtk-api.raw : regen'd. diff --git a/gtk/TextBuffer.custom b/gtk/TextBuffer.custom index a812e6198..45a9dc914 100644 --- a/gtk/TextBuffer.custom +++ b/gtk/TextBuffer.custom @@ -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")]