From cd0de25d5971a34f49830668337af96b15fed4b4 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Tue, 7 Sep 2010 17:12:02 -0400 Subject: Add missing annotations to GLib and Gio Add (transfer full) and (array zero-terminated=1) to various GLib and Gio functions. --- gir/gio-2.0.c | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) (limited to 'gir/gio-2.0.c') diff --git a/gir/gio-2.0.c b/gir/gio-2.0.c index 71df3e88..a86357a2 100644 --- a/gir/gio-2.0.c +++ b/gir/gio-2.0.c @@ -3,6 +3,12 @@ * @application_name: (allow-none): */ +/** + * g_volume_monitor_get: + * + * Return value: (transfer full): + */ + /** * g_volume_monitor_get_connected_drives: * @@ -64,6 +70,64 @@ * Returns: (transfer none): */ +/** + * g_file_new_for_path: + ** + * @path: + * Returns: (transfer full): + */ + +/** + * g_file_new_for_uri: + ** + * @uri: + * Returns: (transfer full): + */ + +/** + * g_file_new_for_commandline_arg: + ** + * @arg: + * Returns: (transfer full): + */ + +/** + * g_file_parse_name: + ** + * @parse_name: + * Returns: (transfer full): + */ + +/** + * g_file_dup: + * + * @file: + * Returns: (transfer full): + */ + +/** + * g_file_enumerate_children: + * + * @file: + * Returns: (transfer full): + */ + +/** + * g_file_enumerate_children_finish: + * + * @file: + * @res: + * @error: + * Returns: (transfer full): + */ + +/** + * g_file_monitor_file: + * + * @file: + * Returns: (transfer full): + */ + /** * g_app_info_launch: * @appinfo: @@ -80,12 +144,28 @@ * @error: */ +/** + * g_file_enumerator_next_file: + * @enumerator: + * @cancellable: + * @error: + * + * Return value: (transfer full): + */ + /** * g_file_enumerator_next_files_finish: * * Return value: (transfer full) (element-type GFileInfo): */ +/** + * g_file_enumerator_get_container: + * @enumerator: + * + * Return value: (transfer full): + */ + /** * g_file_load_contents: * @contents: (out) (transfer full): @@ -261,3 +341,19 @@ * * Returns: (element-type utf8) (transfer full): */ + +/** + * g_settings_get_strv: + * @settings: + * @key: + * + * Return value: (array zero-terminated-1) (transfer full): + */ + +/** + * g_settings_set_strv: + * @settings: + * @key: + * @value: (array zero-terminated-1): + * + */ -- cgit v1.2.1