Branch: refs/heads/master Author: LarsGit223 LarsGit223@users.noreply.github.com Committer: GitHub noreply@github.com Date: Fri, 26 Jul 2019 19:26:56 UTC Commit: 53d65151a67af42059b2dcf5b62f60dc0b39d9bd https://github.com/geany/geany-plugins/commit/53d65151a67af42059b2dcf5b62f60...
Log Message: ----------- Merge pull request #177 from Thannoy/feature/code-cleaning
geanyprj: small code cleaning
Modified Paths: -------------- geanyprj/src/project.c
Modified: geanyprj/src/project.c 20 lines changed, 10 insertions(+), 10 deletions(-) =================================================================== @@ -26,11 +26,11 @@ #include "geanyprj.h"
const gchar *project_type_string[NEW_PROJECT_TYPE_SIZE] = { - "All", - "C/C++", - "C", - "Python", - "None" + [NEW_PROJECT_TYPE_ALL] = "All", + [NEW_PROJECT_TYPE_CPP] = "C/C++", + [NEW_PROJECT_TYPE_C] = "C", + [NEW_PROJECT_TYPE_PYTHON] = "Python", + [NEW_PROJECT_TYPE_NONE] = "None" };
static gboolean project_filter_c_cpp(const gchar *file) @@ -73,11 +73,11 @@ static gboolean project_filter_none(G_GNUC_UNUSED const gchar *file)
gboolean (*project_type_filter[NEW_PROJECT_TYPE_SIZE]) (const gchar *) = { - project_filter_all, - project_filter_c_cpp, - project_filter_c, - project_filter_python, - project_filter_none + [NEW_PROJECT_TYPE_ALL] = project_filter_all, + [NEW_PROJECT_TYPE_CPP] = project_filter_c_cpp, + [NEW_PROJECT_TYPE_C] = project_filter_c, + [NEW_PROJECT_TYPE_PYTHON] = project_filter_python, + [NEW_PROJECT_TYPE_NONE] = project_filter_none };
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).