SF.net SVN: geany-plugins:[140] trunk/geanylua

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Aug 8 18:10:55 UTC 2008


Revision: 140
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=140&view=rev
Author:   ntrel
Date:     2008-08-08 18:10:53 +0000 (Fri, 08 Aug 2008)

Log Message:
-----------
Fix to work with Geany API v86.

Modified Paths:
--------------
    trunk/geanylua/ChangeLog
    trunk/geanylua/geanylua.c
    trunk/geanylua/glspi_init.c
    trunk/geanylua/glspi_ver.h

Modified: trunk/geanylua/ChangeLog
===================================================================
--- trunk/geanylua/ChangeLog	2008-08-07 12:41:15 UTC (rev 139)
+++ trunk/geanylua/ChangeLog	2008-08-08 18:10:53 UTC (rev 140)
@@ -1,3 +1,6 @@
+August 8, 2008 (ntrel)
+  Fix to work with Geany API v86.
+
 August 7, 2008 (ntrel)
   Use $(mkdir_p) instead of $(MKDIR_P) in Makefile, so it works with 
   automake <= 1.96.

Modified: trunk/geanylua/geanylua.c
===================================================================
--- trunk/geanylua/geanylua.c	2008-08-07 12:41:15 UTC (rev 139)
+++ trunk/geanylua/geanylua.c	2008-08-08 18:10:53 UTC (rev 140)
@@ -57,12 +57,12 @@
 GeanyFunctions *geany_functions;
 
 PLUGIN_EXPORT
-KeyBindingGroup plugin_key_group[1];
+GeanyKeyGroup plugin_key_group[1];
 
 
 
 
-typedef void (*InitFunc) (GeanyData *data, GeanyFunctions *functions, KeyBindingGroup *kg);
+typedef void (*InitFunc) (GeanyData *data, GeanyFunctions *functions, GeanyKeyGroup *kg);
 typedef void (*ConfigFunc) (GtkWidget *parent);
 typedef void (*CleanupFunc) (void);
 

Modified: trunk/geanylua/glspi_init.c
===================================================================
--- trunk/geanylua/glspi_init.c	2008-08-07 12:41:15 UTC (rev 139)
+++ trunk/geanylua/glspi_init.c	2008-08-08 18:10:53 UTC (rev 140)
@@ -49,7 +49,7 @@
 	gchar *on_proj_closed_script;
 	GSList *script_list;
 	GtkAccelGroup *acc_grp;
-	KeyBindingGroup *keybind_grp;
+	GeanyKeyGroup *keybind_grp;
 	gchar **keybind_scripts;
 } local_data;
 
@@ -155,7 +155,7 @@
 			}
 			g_strfreev(lines);
 			KG->count=n;
-			KG->keys=g_new0(KeyBinding,n);
+			KG->keys=g_new0(GeanyKeyBinding,n);
 			for (i=0; i<n; i++) {
 				if (KS[i]) {
 					gchar*p=NULL;
@@ -432,7 +432,7 @@
 
 /* Called by Geany to initialize the plugin */
 PLUGIN_EXPORT
-void glspi_init (GeanyData *data, GeanyFunctions *functions, KeyBindingGroup *kg)
+void glspi_init (GeanyData *data, GeanyFunctions *functions, GeanyKeyGroup *kg)
 {
 	GeanyApp *app = data->app;
 	

Modified: trunk/geanylua/glspi_ver.h
===================================================================
--- trunk/geanylua/glspi_ver.h	2008-08-07 12:41:15 UTC (rev 139)
+++ trunk/geanylua/glspi_ver.h	2008-08-08 18:10:53 UTC (rev 140)
@@ -14,7 +14,7 @@
 
 #define PLUGIN_AUTHOR "Jeff Pohlmeyer"
 
-#define MY_GEANY_API_VER 78
+#define MY_GEANY_API_VER 86
 
 #define LUA_MODULE_NAME "geany"
 


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



More information about the Plugins-Commits mailing list