since: 2.4

Declaration [src]

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 platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows..