summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooser.c
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2012-11-22 21:15:06 +0000
committerDavid King <amigadave@amigadave.com>2012-11-24 19:58:10 +0000
commitfbdb81bbdf5d366ddd60255eefd29a00da65e2dc (patch)
tree6dbfce3c49be11cbf5e20c5e6ed33394227b554f /gtk/gtkfilechooser.c
parent840f09bdc88b3903665a8d6dcef0b0f6adaeae76 (diff)
downloadgtk+-fbdb81bbdf5d366ddd60255eefd29a00da65e2dc.tar.gz
docs: gtk_file_chooser_get_filename() returns absolute paths
The documentation for gtk_file_chooser_get_filenames() states that the returned filenames are absolute paths, and uses g_file_get_path() to construct the filename. The same function is used to construct the filename in gtk_file_chooser_get_filename(), so it should also return absolute paths. https://bugzilla.gnome.org/show_bug.cgi?id=371034
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r--gtk/gtkfilechooser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index df794e2ae1..8e2d64da4c 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -1032,8 +1032,9 @@ gtk_file_chooser_get_create_folders (GtkFileChooser *chooser)
* @chooser: a #GtkFileChooser
*
* Gets the filename for the currently selected file in
- * the file selector. If multiple files are selected,
- * one of the filenames will be returned at random.
+ * the file selector. The filename is returned as an absolute path. If
+ * multiple files are selected, one of the filenames will be returned at
+ * random.
*
* If the file chooser is in folder mode, this function returns the selected
* folder.