label: Clarify docs for gtk_label_get_layout()

This commit is contained in:
Benjamin Otte 2010-12-02 11:34:41 +01:00
parent f9a9567731
commit 0b6c184eaa

View File

@ -5509,8 +5509,9 @@ gtk_label_get_selection_bounds (GtkLabel *label,
* Gets the #PangoLayout used to display the label. * Gets the #PangoLayout used to display the label.
* The layout is useful to e.g. convert text positions to * The layout is useful to e.g. convert text positions to
* pixel positions, in combination with gtk_label_get_layout_offsets(). * pixel positions, in combination with gtk_label_get_layout_offsets().
* The returned layout is owned by the label so need not be * The returned layout is owned by the @label so need not be
* freed by the caller. * 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 * Return value: (transfer none): the #PangoLayout for this label
**/ **/