Skip to content
Browse files

GeanyPrj: Fix project_type_filter signature

  • Loading branch information...
1 parent d62c1fc commit b89ffae3c818d19e2c6cdfb14bd7a09bcd87c908 @b4n b4n committed Jul 8, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 geanyprj/src/geanyprj.h
  2. +1 −1 geanyprj/src/project.c
View
2 geanyprj/src/geanyprj.h
@@ -68,7 +68,7 @@ extern GeanyData *geany_data;
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 */
View
2 geanyprj/src/project.c
@@ -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,

0 comments on commit b89ffae

Please sign in to comment.
Something went wrong with that request. Please try again.