Revision: 2808 http://geany.svn.sourceforge.net/geany/?rev=2808&view=rev Author: ntrel Date: 2008-07-24 11:23:12 +0000 (Thu, 24 Jul 2008)
Log Message: ----------- Rename p_filetypes->detect_from_filename() to detect_from_file() in the plugin API.
Modified Paths: -------------- trunk/ChangeLog trunk/src/plugindata.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-07-24 11:20:48 UTC (rev 2807) +++ trunk/ChangeLog 2008-07-24 11:23:12 UTC (rev 2808) @@ -2,6 +2,9 @@
* src/filetypes.c: Only compile filetypes_detect_from_file() if HAVE_PLUGINS is defined. + * src/plugindata.h: + Rename p_filetypes->detect_from_filename() to detect_from_file() in + the plugin API.
2008-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/plugindata.h =================================================================== --- trunk/src/plugindata.h 2008-07-24 11:20:48 UTC (rev 2807) +++ trunk/src/plugindata.h 2008-07-24 11:23:12 UTC (rev 2808) @@ -36,7 +36,7 @@
/* The API version should be incremented whenever any plugin data types below are * modified or appended to. */ -static const gint api_version = 81; +static const gint api_version = 82;
/* The ABI version should be incremented whenever existing fields in the plugin * data types below have to be changed or reordered. It should stay the same if fields @@ -397,7 +397,7 @@ /* See filetypes.h */ typedef struct FiletypeFuncs { - GeanyFiletype* (*detect_from_filename) (const gchar *utf8_filename); + GeanyFiletype* (*detect_from_file) (const gchar *utf8_filename); GeanyFiletype* (*lookup_by_name) (const gchar *name); } FiletypeFuncs;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.