Add GObject Introspection annotations
Add GObject Introspection annotations to methods where needed, in particular adding (transfer none) to return values that don't transfer ownership. st_texture_cache_get_actor() and st_texture_cache_get_texture() are annotated as (transfer none) since they return a newly created *floating* texture. https://bugzilla.gnome.org/show_bug.cgi?id=591245
This commit is contained in:
@@ -810,8 +810,8 @@ st_entry_set_text (StEntry *entry,
|
||||
*
|
||||
* Retrieve the internal #ClutterText so that extra parameters can be set
|
||||
*
|
||||
* Returns: the #ClutterText used by #StEntry. The entry is owned by the
|
||||
* #StEntry and should not be unref'ed by the application.
|
||||
* Returns: (transfer none): ethe #ClutterText used by #StEntry. The entry is
|
||||
* owned by the #StEntry and should not be unref'ed by the application.
|
||||
*/
|
||||
ClutterActor*
|
||||
st_entry_get_clutter_text (StEntry *entry)
|
||||
|
Reference in New Issue
Block a user