SF.net SVN: geany-plugins:[142] trunk/geanyvc/geanyvc.c

yurand at users.sourceforge.net yurand at xxxxx
Wed Aug 27 08:43:10 UTC 2008


Revision: 142
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=142&view=rev
Author:   yurand
Date:     2008-08-27 08:43:10 +0000 (Wed, 27 Aug 2008)

Log Message:
-----------
Fix to work with Geany API 89

patch from Nick Treleaven, thanks

Modified Paths:
--------------
    trunk/geanyvc/geanyvc.c

Modified: trunk/geanyvc/geanyvc.c
===================================================================
--- trunk/geanyvc/geanyvc.c	2008-08-13 19:02:32 UTC (rev 141)
+++ trunk/geanyvc/geanyvc.c	2008-08-27 08:43:10 UTC (rev 142)
@@ -56,7 +56,7 @@
 GeanyFunctions *geany_functions;
 
 
-PLUGIN_VERSION_CHECK(78);
+PLUGIN_VERSION_CHECK(89);
 PLUGIN_SET_INFO(_("VC"), _("Interface to different Version Control systems."), VERSION,
 		_("Yura Siamashka <yurand2 at gmail.com>,\nFrank Lanitz <frank at frank.uvena.de>"));
 
@@ -1097,7 +1097,7 @@
 get_diff_color(G_GNUC_UNUSED GeanyDocument * doc, gint style)
 {
 	static GdkColor c = { 0, 0, 0, 0 };
-	const HighlightingStyle *s;
+	const GeanyLexerStyle *s;
 
 	s = p_highlighting->get_style(GEANY_FILETYPES_DIFF, style);
 	c.red = (s->foreground % 256) * 257;


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