[geany/geany] 11e16e: Remove an unused argument

Colomban Wendling git-noreply at xxxxx
Thu Apr 2 17:12:13 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 02 Apr 2015 17:12:13 UTC
Commit:      11e16eed6fdb66e6a4046ea5cf6c718c6ce830cd
             https://github.com/geany/geany/commit/11e16eed6fdb66e6a4046ea5cf6c718c6ce830cd

Log Message:
-----------
Remove an unused argument


Modified Paths:
--------------
    src/symbols.c

Modified: src/symbols.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -1079,7 +1079,7 @@ static const gchar *get_parent_name(const TMTag *tag, filetype_id ft_id)
 }
 
 
-static GtkTreeIter *get_tag_type_iter(TMTagType tag_type, filetype_id ft_id)
+static GtkTreeIter *get_tag_type_iter(TMTagType tag_type)
 {
 	GtkTreeIter *iter = NULL;
 
@@ -1456,7 +1456,7 @@ static void update_tree_tags(GeanyDocument *doc, GList **tags)
 		TMTag *tag = item->data;
 		GtkTreeIter *parent;
 
-		parent = get_tag_type_iter(tag->type, doc->file_type->id);
+		parent = get_tag_type_iter(tag->type);
 		if (G_UNLIKELY(! parent))
 			geany_debug("Missing symbol-tree parent iter for type %d!", tag->type);
 		else



--------------
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