Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: GitHub noreply@github.com Date: Fri, 31 May 2024 08:18:52 UTC Commit: cae6861b9d2de04d5d83f5dd85e30aa71b303f25 https://github.com/geany/geany-plugins/commit/cae6861b9d2de04d5d83f5dd85e30a...
Log Message: ----------- Merge pull request #1353 from eht16/use_gstatbuf_for_g_stat
ProjectOrganizer, Workbench: Use GStatBuf for "g_stat()" calls
Modified Paths: -------------- projectorganizer/src/prjorg-project.c workbench/src/tm_control.c
Modified: projectorganizer/src/prjorg-project.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -234,7 +234,7 @@ static gboolean match_basename(gconstpointer pft, gconstpointer user_data) * extension and only if this fails, look at the shebang */ static GeanyFiletype *filetypes_detect(const gchar *utf8_filename) { - struct stat s; + GStatBuf s; GeanyFiletype *ft = NULL; gchar *locale_filename;
Modified: workbench/src/tm_control.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -165,7 +165,7 @@ static gboolean match_basename(gconstpointer pft, gconstpointer user_data) * extension and only if this fails, look at the shebang */ static GeanyFiletype *filetypes_detect(const gchar *utf8_filename) { - struct stat s; + GStatBuf s; GeanyFiletype *ft = NULL; gchar *locale_filename;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).