Re: Using a Const Gtk::TextBuffer Object?
- From: Ami Tavory <atavory gmail com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: Using a Const Gtk::TextBuffer Object?
- Date: Thu, 24 Nov 2005 17:07:42 +0200
On 11/24/05, Murray Cumming <murrayc murrayc com> wrote:
> Hello,
>
> I've noticed that the method:
> Glib::ustring Gtk::TextBuffer::get_text(bool include_hidden_chars=true);
> is non-const. Is this by design? Since it returns a Glib::ustring, *not* a
> reference, shouldn't it logically avoid
> modifying a Gtk::TextBuffer object?
Yes, it should be const. I'll add a const overload in the HEAD branch.
Please use bugzilla if I forget.
Done.
BTW, IMHO you did a great job on gtkmm - thx.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]