summaryrefslogtreecommitdiff
path: root/navit/bookmarks.c
diff options
context:
space:
mode:
authorrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-14 22:23:43 +0000
committerrikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-02-14 22:23:43 +0000
commitae0f2d1f9f0f6df484a530a35fee27c996f3ce9b (patch)
tree6a0db1ba0241b93561876a5fd7c30990cdb65866 /navit/bookmarks.c
parentc373f7fc8a3580cbba89cea4db0faf3ff56f9468 (diff)
downloadnavit-svn-ae0f2d1f9f0f6df484a530a35fee27c996f3ce9b.tar.gz
Fix:core:Fixed using wrong struct and missing include
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4164 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/bookmarks.c')
-rw-r--r--navit/bookmarks.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/navit/bookmarks.c b/navit/bookmarks.c
index e5fe4d14..a97380a4 100644
--- a/navit/bookmarks.c
+++ b/navit/bookmarks.c
@@ -34,6 +34,7 @@
#include "bookmarks.h"
#include "navit.h"
#include "navit_nls.h"
+#include "util.h"
/* FIXME: Move this to support directory */
#ifdef _MSC_VER
@@ -70,7 +71,7 @@ struct bookmarks {
struct bookmark_item_priv {
char *label;
enum item_type type;
- struct coord c;
+ struct pcoord c;
GList *children;
GList *iter;
struct bookmark_item_priv *parent;
@@ -437,7 +438,7 @@ bookmarks_write_center_to_file(struct bookmarks *this_, char *file)
}
static void
-bookmarks_emit_dbus_signal(struct bookmarks *this_, struct coord *c, const char *description,int create)
+bookmarks_emit_dbus_signal(struct bookmarks *this_, struct pcoord *c, const char *description,int create)
{
struct attr attr1,attr2,attr3,attr4,cb,*attr_list[5];
int valid=0;
@@ -583,7 +584,7 @@ bookmarks_delete_bookmark(struct bookmarks *this_, const char *label) {
bookmarks_clear_hash(this_);
bookmarks_load_hash(this_);
- bookmarks_emit_dbus_signal(this_,&(data->c),label,FALSE);
+ bookmarks_emit_dbus_signal(this_,&(data->c),label,FALSE);
return result;
}