Skip to content

Commit

Permalink
Merge pull request #1353 from eht16/use_gstatbuf_for_g_stat
Browse files Browse the repository at this point in the history
ProjectOrganizer, Workbench: Use GStatBuf for "g_stat()" calls
  • Loading branch information
eht16 authored May 31, 2024
2 parents 3e38966 + bb289f1 commit cae6861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projectorganizer/src/prjorg-project.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion workbench/src/tm_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cae6861

Please sign in to comment.