diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-12-16 13:49:39 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-12-16 13:49:39 +0100 |
commit | 42ce3fb94ce531b1f96f1ad59546c3e3f00d58f9 (patch) | |
tree | 548b8a4c57750a6afce12c711ef69b4829dcd974 /src/nautilus-bookmark-list.c | |
parent | 4cd5c8825e53d8a9d44af32f358e8c1d25a3701e (diff) | |
download | nautilus-42ce3fb94ce531b1f96f1ad59546c3e3f00d58f9.tar.gz |
bookmark-list: use internal list for clients
So we will be able to remove some of the public API, since we
can use GList functions.
Diffstat (limited to 'src/nautilus-bookmark-list.c')
-rw-r--r-- | src/nautilus-bookmark-list.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nautilus-bookmark-list.c b/src/nautilus-bookmark-list.c index 3a59d292a..3e482c988 100644 --- a/src/nautilus-bookmark-list.c +++ b/src/nautilus-bookmark-list.c @@ -703,3 +703,17 @@ nautilus_bookmark_list_new (void) return list; } + +/** + * nautilus_bookmark_list_get_all: + * + * Get a GList of all NautilusBookmark. + * @bookmarks: NautilusBookmarkList from where to get the bookmarks. + **/ +GList * +nautilus_bookmark_list_get_all (NautilusBookmarkList *bookmarks) +{ + g_return_val_if_fail (NAUTILUS_IS_BOOKMARK_LIST (bookmarks), NULL); + + return bookmarks->list; +} |