Method

GtkPlacesSidebarlist_shortcuts

since: 3.10

Declaration [src]

GSList*
gtk_places_sidebar_list_shortcuts (
  GtkPlacesSidebar* sidebar
)

Description [src]

Gets the list of shortcuts.

Available since: 3.10

Return value

Type: A list of None

A `GSList` of `GFile` of the locations that have been added as
application-specific shortcuts with gtk_places_sidebar_add_shortcut().
To free this list, you can use
g_slist_free_full (list, (GDestroyNotify) g_object_unref);
The caller of the method takes ownership of the returned data, and is responsible for freeing it.