Commit 0b6c184e authored by Benjamin Otte's avatar Benjamin Otte
Browse files

label: Clarify docs for gtk_label_get_layout()

parent f9a95677
......@@ -5509,8 +5509,9 @@ gtk_label_get_selection_bounds (GtkLabel *label,
* Gets the #PangoLayout used to display the label.
* The layout is useful to e.g. convert text positions to
* pixel positions, in combination with gtk_label_get_layout_offsets().
* The returned layout is owned by the label so need not be
* freed by the caller.
* The returned layout is owned by the @label so need not be
* freed by the caller. The @label is free to recreate its layout at
* any time, so it should be considered read-only.
*
* Return value: (transfer none): the #PangoLayout for this label
**/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment