Remove not useless tm_source_file_ctags_init() indirection
This commit is contained in:
parent
fdc4510864
commit
4036d7d18a
@ -661,12 +661,6 @@ static gboolean tm_source_file_tags(const tagEntryInfo *const tag,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void tm_source_file_ctags_init(void)
|
||||
{
|
||||
tm_ctags_init();
|
||||
tm_parser_verify_type_mappings();
|
||||
}
|
||||
|
||||
/* Initializes a TMSourceFile structure from a file name. */
|
||||
static gboolean tm_source_file_init(TMSourceFile *source_file, const char *file_name,
|
||||
const char* name)
|
||||
|
@ -38,8 +38,6 @@ typedef struct TMSourceFile
|
||||
|
||||
GType tm_source_file_get_type(void);
|
||||
|
||||
void tm_source_file_ctags_init(void);
|
||||
|
||||
TMSourceFile *tm_source_file_new(const char *file_name, const char *name);
|
||||
|
||||
void tm_source_file_free(TMSourceFile *source_file);
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
#include "tm_workspace.h"
|
||||
#include "tm_ctags_wrappers.h"
|
||||
#include "tm_tag.h"
|
||||
#include "tm_parser.h"
|
||||
|
||||
@ -77,7 +78,7 @@ static gboolean tm_create_workspace(void)
|
||||
theWorkspace->typename_array = g_ptr_array_new();
|
||||
theWorkspace->global_typename_array = g_ptr_array_new();
|
||||
|
||||
tm_source_file_ctags_init();
|
||||
tm_ctags_init();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user