SF.net SVN: geany: [2590] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu May 15 16:19:00 UTC 2008


Revision: 2590
          http://geany.svn.sourceforge.net/geany/?rev=2590&view=rev
Author:   eht16
Date:     2008-05-15 09:19:00 -0700 (Thu, 15 May 2008)

Log Message:
-----------
Make p_editor macro also available if GEANY_DISABLE_DEPRECATED is not defined.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-05-15 15:58:28 UTC (rev 2589)
+++ trunk/ChangeLog	2008-05-15 16:19:00 UTC (rev 2590)
@@ -3,6 +3,9 @@
  * src/*.c src/*.h:
    Move several editing related functions from document.c to editor.c.
    Fix two compiler warnings about non-literal format strings.
+ * plugins/pluginmacros.h:
+   Make p_editor macro also available if GEANY_DISABLE_DEPRECATED
+   is not defined.
 
 
 2008-05-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/plugins/pluginmacros.h
===================================================================
--- trunk/plugins/pluginmacros.h	2008-05-15 15:58:28 UTC (rev 2589)
+++ trunk/plugins/pluginmacros.h	2008-05-15 16:19:00 UTC (rev 2590)
@@ -72,6 +72,7 @@
 #define p_tm			tagmanager
 #define p_ui			ui
 #define p_utils			utils
+#define p_editor		geany_data->editor
 
 
 /* Temporary source compatibility macros - do not use these in new code. */


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