[geany/geany] 4036d7: Remove not useless tm_source_file_ctags_init() indirection
Colomban Wendling
git-noreply at xxxxx
Fri Jun 10 21:57:28 UTC 2016
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Jiří Techet <techet at gmail.com>
Date: Fri, 06 May 2016 14:51:38 UTC
Commit: 4036d7d18a22af98beee1644d393e73240e3aee5
https://github.com/geany/geany/commit/4036d7d18a22af98beee1644d393e73240e3aee5
Log Message:
-----------
Remove not useless tm_source_file_ctags_init() indirection
Modified Paths:
--------------
tagmanager/src/tm_source_file.c
tagmanager/src/tm_source_file.h
tagmanager/src/tm_workspace.c
Modified: tagmanager/src/tm_source_file.c
6 lines changed, 0 insertions(+), 6 deletions(-)
===================================================================
@@ -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)
Modified: tagmanager/src/tm_source_file.h
2 lines changed, 0 insertions(+), 2 deletions(-)
===================================================================
@@ -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);
Modified: tagmanager/src/tm_workspace.c
3 lines changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -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;
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list