[gtk+] Document ownership for return value of gtk_file_chooser_get_file()
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Document ownership for return value of gtk_file_chooser_get_file()
- Date: Thu, 27 Aug 2009 09:53:46 +0000 (UTC)
commit 51f140bfdcb5a85d9fff5e187b1de92f0faf4b81
Author: Benjamin Otte <otte gnome org>
Date: Wed Aug 26 22:23:21 2009 +0200
Document ownership for return value of gtk_file_chooser_get_file()
gtk/gtkfilechooser.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index c8078b1..6c7de57 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -1239,7 +1239,8 @@ gtk_file_chooser_set_file (GtkFileChooser *chooser,
* If the file chooser is in folder mode, this function returns the selected
* folder.
*
- * Returns: a selected #GFile
+ * Returns: a selected #GFile. You own the returned file; use
+ * g_object_unref() to release it.
*
* Since: 2.14
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]