Revision: 100 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=100&view=rev Author: ntrel Date: 2008-07-02 09:55:01 -0700 (Wed, 02 Jul 2008)
Log Message: ----------- Rename GeanyCallbacks, geany_callbacks symbol.
Modified Paths: -------------- trunk/geanylua/ChangeLog trunk/geanylua/geanylua.c trunk/geanylua/glspi_init.c
Modified: trunk/geanylua/ChangeLog =================================================================== --- trunk/geanylua/ChangeLog 2008-07-02 16:45:28 UTC (rev 99) +++ trunk/geanylua/ChangeLog 2008-07-02 16:55:01 UTC (rev 100) @@ -3,6 +3,7 @@ Update MY_GEANY_API_VER now we use p_document->close(). Update for new PLUGIN_ macro names. Add comment about reloading in glspi_open(). + Rename GeanyCallbacks, geany_callbacks symbol.
July 1, 2008 (ntrel) Begin updating for Geany 0.15 API changes.
Modified: trunk/geanylua/geanylua.c =================================================================== --- trunk/geanylua/geanylua.c 2008-07-02 16:45:28 UTC (rev 99) +++ trunk/geanylua/geanylua.c 2008-07-02 16:55:01 UTC (rev 100) @@ -41,7 +41,7 @@
#define SUPPORT_LIB "libgeanylua." G_MODULE_SUFFIX
-#define CB_COPY(field) geany_callbacks[i].field=glspi_geany_callbacks[i].field; +#define CB_COPY(field) plugin_callbacks[i].field=glspi_geany_callbacks[i].field;
#define GETSYM(name,ptr) ( g_module_symbol(libgeanylua, name, (gpointer) &ptr) && ptr )
@@ -71,7 +71,7 @@ static InitFunc glspi_init = NULL; static ConfigFunc glspi_configure = NULL; static CleanupFunc glspi_cleanup = NULL; -static GeanyCallback *glspi_geany_callbacks = NULL; +static PluginCallback *glspi_geany_callbacks = NULL;
@@ -82,7 +82,7 @@ and all is well... */ PLUGIN_EXPORT -GeanyCallback geany_callbacks[8] = { +PluginCallback plugin_callbacks[8] = { {NULL, NULL, FALSE, NULL}, {NULL, NULL, FALSE, NULL}, {NULL, NULL, FALSE, NULL}, @@ -117,10 +117,10 @@ glspi_configure = NULL; glspi_cleanup = NULL; glspi_geany_callbacks = NULL; - geany_callbacks[0].signal_name=NULL; - geany_callbacks[0].callback=NULL; - geany_callbacks[0].after=FALSE; - geany_callbacks[0].user_data=NULL; + plugin_callbacks[0].signal_name=NULL; + plugin_callbacks[0].callback=NULL; + plugin_callbacks[0].after=FALSE; + plugin_callbacks[0].user_data=NULL; }
static GeanyData *geany_data=NULL;
Modified: trunk/geanylua/glspi_init.c =================================================================== --- trunk/geanylua/glspi_init.c 2008-07-02 16:45:28 UTC (rev 99) +++ trunk/geanylua/glspi_init.c 2008-07-02 16:55:01 UTC (rev 100) @@ -259,7 +259,7 @@
PLUGIN_EXPORT -GeanyCallback glspi_geany_callbacks[] = { +PluginCallback glspi_geany_callbacks[] = { {"document-new", (GCallback) &on_doc_new, TRUE, NULL}, {"document-open", (GCallback) &on_doc_open, TRUE, NULL}, {"document-save", (GCallback) &on_doc_save, TRUE, NULL},
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org