Warning
gtk_file_selection_get_filename is deprecated and should not be used in newly-written code.
This function returns the selected filename in the GLib file name
encoding. 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.
Warning gtk_file_selection_get_filename is deprecated and should not be used in newly-written code. This function returns the selected filename in the GLib file name encoding. 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.