_loc_model = gtk_list_store_new(1, G_TYPE_STRING);
for (curr = _loc_list; curr != NULL; curr = curr->next) {
GtkTreeIter iter;
- gtk_list_store_insert_with_values(_loc_model, &iter,
- INT_MAX, 0,
- curr->data, -1);
+ gtk_list_store_insert_with_values(_loc_model, &iter, INT_MAX, 0, curr->data, -1);
}
}
-/* Get Mapper Database. Default is in REPO_DEFAULT_CACHE_BASE */
+/* Get Mapper Database. Default is in REPO_DEFAULT_CACHE_BASE */
_mapper_db = gconf_client_get_string(gconf_client, GCONF_KEY_MAPPER_DB, NULL);
if (_mapper_db == NULL) {
- gchar *poi_base = gnome_vfs_expand_initial_tilde(REPO_DEFAULT_CACHE_BASE);
- _mapper_db = gnome_vfs_uri_make_full_from_relative(poi_base, "poi.db");
- g_free(poi_base);
+ gchar *db_base = gnome_vfs_expand_initial_tilde(REPO_DEFAULT_CACHE_BASE);
+ _mapper_db = gnome_vfs_uri_make_full_from_relative(db_base, "mapper.db");
+ g_free(db_base);
}
_poi_zoom = gconf_client_get_int(gconf_client, GCONF_KEY_POI_ZOOM, NULL);
_gps_info = FALSE;
}
-/* Get Route Download URL. Default is:
+/* Get Route Download URL. Default is:
* "http://www.gnuite.com/cgi-bin/gpx.cgi?saddr=%s&daddr=%s" */
_route_dl_url = gconf_client_get_string(gconf_client, GCONF_KEY_ROUTE_DL_URL, NULL);
if (_route_dl_url == NULL)