[geany/geany-plugins] b89ffa: GeanyPrj: Fix project_type_filter signature
Colomban Wendling
git-noreply at xxxxx
Sun Jul 8 16:27:28 UTC 2012
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 08 Jul 2012 16:27:28
Commit: b89ffae3c818d19e2c6cdfb14bd7a09bcd87c908
https://github.com/geany/geany-plugins/commit/b89ffae3c818d19e2c6cdfb14bd7a09bcd87c908
Log Message:
-----------
GeanyPrj: Fix project_type_filter signature
Modified Paths:
--------------
geanyprj/src/geanyprj.h
geanyprj/src/project.c
Modified: geanyprj/src/geanyprj.h
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -68,7 +68,7 @@ struct GeanyPrj
extern GeanyFunctions *geany_functions;
extern const gchar *project_type_string[NEW_PROJECT_TYPE_SIZE];
-extern void *project_type_filter[NEW_PROJECT_TYPE_SIZE];
+gboolean (*project_type_filter[NEW_PROJECT_TYPE_SIZE]) (const gchar *);
/* project.c */
Modified: geanyprj/src/project.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -72,7 +72,7 @@ static gboolean project_filter_none(G_GNUC_UNUSED const gchar *file)
}
-void *project_type_filter[NEW_PROJECT_TYPE_SIZE] = {
+gboolean (*project_type_filter[NEW_PROJECT_TYPE_SIZE]) (const gchar *) = {
project_filter_all,
project_filter_c_cpp,
project_filter_c,
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Plugins-Commits
mailing list