summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-04-30 18:15:35 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-04-30 18:15:35 +0000
commitb21eb2834b2cfdb8b11a8db7cadaafb29f2e147d (patch)
treeb43989b83fff9d4273a15973224a1569b2c81c3f /gtk/gtkfilesel.c
parentc117408d9efaccd2db2441ae592de0e9ba84bb2c (diff)
downloadgtk+-b21eb2834b2cfdb8b11a8db7cadaafb29f2e147d.tar.gz
Doc fixes.
Tue Apr 30 14:15:14 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkfilesel.c gtk/gtkselection.c: Doc fixes.
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 10992602ef..b6472fe728 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -1170,13 +1170,15 @@ gtk_file_selection_set_filename (GtkFileSelection *filesel,
* gtk_file_selection_get_filename:
* @filesel: a #GtkFileSelection
*
- * This function returns the selected filename in encoding of
- * g_filename_from_utf8(), which may or may not be the same as that
+ * This function returns the selected filename in the on-disk encoding
+ * (See g_filename_from_utf8()), which may or may not be the same as that
* used by GTK+ (UTF-8). To convert to UTF-8, call g_filename_to_utf8().
* The returned string points to a statically allocated buffer and
* should be copied if you plan to keep it around.
+ *
+ * If no file is selected then the selected directory path is returned.
*
- * Return value: currently-selected filename in locale's encoding
+ * Return value: currently-selected filename in the on-disk encoding.
**/
G_CONST_RETURN gchar*
gtk_file_selection_get_filename (GtkFileSelection *filesel)