Method

GtkFileChooserlist_shortcut_folders

since: 2.4

Declaration [src]

GSList*
gtk_file_chooser_list_shortcut_folders (
  GtkFileChooser* chooser
)

Description [src]

Queries the list of shortcut folders in the file chooser, as set by gtk_file_chooser_add_shortcut_folder().

Available since: 2.4

Return value

Type: A list of filename

A list of folder filenames, or NULL if there are no shortcut folders. Free the returned list with g_slist_free(), and the filenames with g_free().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
Each element is a file system path, using the OS encoding.