SF.net SVN: geany: [2767] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Jul 10 14:12:13 UTC 2008


Revision: 2767
          http://geany.svn.sourceforge.net/geany/?rev=2767&view=rev
Author:   ntrel
Date:     2008-07-10 07:12:09 -0700 (Thu, 10 Jul 2008)

Log Message:
-----------
Remove deprecated struct field macros (this fixes building Geany
when GEANY_DISABLE_DEPRECATED is not set, fixes #2014586).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/plugins/pluginmacros.h

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-07-08 16:30:37 UTC (rev 2766)
+++ trunk/ChangeLog	2008-07-10 14:12:09 UTC (rev 2767)
@@ -1,3 +1,10 @@
+2008-07-10  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * 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  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * tagmanager/haskell.c:

Modified: trunk/plugins/pluginmacros.h
===================================================================
--- trunk/plugins/pluginmacros.h	2008-07-08 16:30:37 UTC (rev 2766)
+++ trunk/plugins/pluginmacros.h	2008-07-10 14:12:09 UTC (rev 2767)
@@ -40,16 +40,7 @@
 #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 */
 #define p_document		geany_functions->p_document		/**< See document.h */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list