From e204cc44fb05bb48418711c66aada2b920883f28 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Thu, 10 Jul 2008 14:12:09 +0000 Subject: [PATCH] Remove deprecated struct field macros (this fixes building Geany when GEANY_DISABLE_DEPRECATED is not set, fixes #2014586). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2767 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 7 +++++++ plugins/pluginmacros.h | 9 --------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 559e43d61..38b7f5fc7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-10 Nick Treleaven + + * plugins/pluginmacros.h: + Remove deprecated struct field macros (this fixes building Geany + when GEANY_DISABLE_DEPRECATED is not set, fixes #2014586). + + 2008-07-07 Nick Treleaven * tagmanager/haskell.c: diff --git a/plugins/pluginmacros.h b/plugins/pluginmacros.h index fc6c7c716..6e9022969 100644 --- a/plugins/pluginmacros.h +++ b/plugins/pluginmacros.h @@ -40,15 +40,6 @@ #define documents_array geany_data->documents_array /**< Allows use of @c documents[] macro */ #define filetypes_array geany_data->filetypes_array /**< Allows use of @c filetypes[] macro */ -#ifndef GEANY_DISABLE_DEPRECATED - -#define app geany_data->app -#define main_widgets geany_data->main_widgets -#define prefs geany_data->prefs -#define project app->project - -#endif - /* function group macros */ #define p_editor geany_functions->p_editor /**< See editor.h */