diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-29 12:28:13 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-29 12:28:13 +0000 |
commit | 15fb781bf2323f4985415f1b2e62c2d9d78ac2c1 (patch) | |
tree | ffba75d097c950307300a56c4acc9b63700aecf9 /navit/bookmarks.c | |
parent | ee75fa2d8a67e2d38ce4f824b8c0b8d054760037 (diff) | |
download | navit-15fb781bf2323f4985415f1b2e62c2d9d78ac2c1.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.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/navit/bookmarks.c b/navit/bookmarks.c index 289fba6ac..8a0a6e155 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_); |