From 5858bc3c084d5a955914828c4df2e897790465fd Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Fri, 4 Mar 2016 23:08:32 +0100 Subject: [PATCH] Deprecate filetype_id in favor of GeanyFiletypeID --- src/filetypes.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/filetypes.h b/src/filetypes.h index 789ef742..5bdf3be6 100644 --- a/src/filetypes.h +++ b/src/filetypes.h @@ -111,7 +111,10 @@ typedef enum } GeanyFiletypeID; -#define filetype_id GeanyFiletypeID /* compat define - should be removed in the future */ +#ifndef GEANY_DISABLE_DEPRECATED +/* compat define - should be removed in the future */ +typedef GeanyFiletypeID filetype_id GEANY_DEPRECATED_FOR(GeanyFiletypeID); +#endif /* GEANY_DISABLE_DEPRECATED */ /** @gironly * Filetype categories