gtk_text_buffer_get_* should return length? (1.3.6)
- From: Joshua N Pritikin <vishnu pobox com>
- To: gtk-app-devel-list gnome org
- Subject: gtk_text_buffer_get_* should return length? (1.3.6)
- Date: Tue, 7 Aug 2001 22:35:42 +0530
The APIs in question are:
gchar* gtk_text_buffer_get_text (GtkTextBuffer *buffer,
const GtkTextIter *start,
const GtkTextIter *end,
gboolean include_hidden_chars);
gchar* gtk_text_buffer_get_slice (GtkTextBuffer *buffer,
const GtkTextIter *start,
const GtkTextIter *end,
gboolean include_hidden_chars);
Why don't these APIs return the length? It seems dumb to do a strlen()
when _gtk_text_btree_get_text() actually had the data nicely wrapped
in a GString.
Shall i file this request in bugzilla?
--
Get self-realization at <http://sahajayoga.org> ... <http://why-compete.org> ?
Victory to the Divine Mother!!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]