summaryrefslogtreecommitdiff
path: root/navit/bookmarks.c
diff options
context:
space:
mode:
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-29 12:28:13 +0000
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-04-29 12:28:13 +0000
commit98aa8dd9d6bfa2a01ce8bb1b77a1aa51d3a4aac5 (patch)
treeffba75d097c950307300a56c4acc9b63700aecf9 /navit/bookmarks.c
parent464f67befca028f4b208c082c32985fb269f6999 (diff)
downloadnavit-svn-98aa8dd9d6bfa2a01ce8bb1b77a1aa51d3a4aac5.tar.gz
Fix:core:Modified bookmarks object creation semantics
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3209 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/bookmarks.c')
-rw-r--r--navit/bookmarks.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/navit/bookmarks.c b/navit/bookmarks.c
index 289fba6a..8a0a6e15 100644
--- a/navit/bookmarks.c
+++ b/navit/bookmarks.c
@@ -27,6 +27,7 @@
#include "transform.h"
#include "callback.h"
#include "map.h"
+#include "command.h"
#include "bookmarks.h"
struct bookmarks {
@@ -194,8 +195,9 @@ bookmarks_load_hash(struct bookmarks *this_) {
}
bookmarks_move_root(this_);
}
+
struct bookmarks *
-bookmarks_new(struct attr *parent, /*struct attr **attrs,*/struct transformation *trans) {
+bookmarks_new(struct attr *parent, struct attr **attrs, struct transformation *trans) {
struct bookmarks *this_;
this_ = g_new0(struct bookmarks,1);
@@ -556,9 +558,6 @@ bookmarks_delete_bookmark(struct bookmarks *this_, const char *label) {
int
bookmarks_rename_bookmark(struct bookmarks *this_, const char *oldName, const char* newName) {
- struct bookmark_item_priv *b_item;
- struct pcoord pc;
- char *path;
int result;
bookmarks_item_rewind(this_);