diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-11-02 11:10:26 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-11-02 11:10:26 +0000 |
commit | 1e3fc12eb944b01388c1a60fdf5af09d8f6f6689 (patch) | |
tree | d13d3166a710835007f887f05251c77bcc5fedf3 /navit/navit.c | |
parent | 2184a5c28f06277b0acde6fb9274fbb77c3ff2fe (diff) | |
download | navit-1e3fc12eb944b01388c1a60fdf5af09d8f6f6689.tar.gz |
Fix:Core:Split out main_ functions from main.c, updated dtd
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2715 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.c')
-rw-r--r-- | navit/navit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/navit/navit.c b/navit/navit.c index d5eaaf1c5..72c2934a2 100644 --- a/navit/navit.c +++ b/navit/navit.c @@ -638,7 +638,6 @@ navit_new(struct attr *parent, struct attr **attrs) this_->self.type=attr_navit; this_->self.u.navit=this_; this_->attr_cbl=callback_list_new(); - main_add_navit(this_); this_->bookmarks_hash=g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); @@ -2272,7 +2271,6 @@ navit_destroy(struct navit *this_) /* TODO: destroy objects contained in this_ */ if (this_->vehicle) vehicle_destroy(this_->vehicle->vehicle); - main_remove_navit(this_); char *center_file = navit_get_center_file(TRUE); navit_write_center_to_file(this_, center_file); g_free(center_file); |