Clarify that the returned layout must not be modified.

2005-08-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
	returned layout must not be modified.
This commit is contained in:
Matthias Clasen 2005-08-21 01:57:01 +00:00 committed by Matthias Clasen
parent 320c78ce86
commit b358753ae0
4 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-08-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
returned layout must not be modified.
Sat Aug 20 16:12:14 2005 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_model): clear

View File

@ -1,3 +1,8 @@
2005-08-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
returned layout must not be modified.
Sat Aug 20 16:12:14 2005 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_model): clear

View File

@ -1,3 +1,8 @@
2005-08-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
returned layout must not be modified.
Sat Aug 20 16:12:14 2005 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_model): clear

View File

@ -4221,8 +4221,8 @@ gtk_entry_get_has_frame (GtkEntry *entry)
* Gets the #PangoLayout used to display the entry.
* The layout is useful to e.g. convert text positions to
* pixel positions, in combination with gtk_entry_get_layout_offsets().
* The returned layout is owned by the entry so need not be
* freed by the caller.
* The returned layout is owned by the entry and must not be
* modified or freed by the caller.
*
* Keep in mind that the layout text may contain a preedit string, so
* gtk_entry_layout_index_to_text_index() and