Revision: 5714 http://geany.svn.sourceforge.net/geany/?rev=5714&view=rev Author: eht16 Date: 2011-04-12 17:20:59 +0000 (Tue, 12 Apr 2011)
Log Message: ----------- Rename document_sort_by_display_name() into document_compare_by_display_name(), thanks again Nick.
Modified Paths: -------------- trunk/ChangeLog trunk/src/document.c trunk/src/document.h trunk/src/plugindata.h trunk/src/plugins.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-04-12 17:17:54 UTC (rev 5713) +++ trunk/ChangeLog 2011-04-12 17:20:59 UTC (rev 5714) @@ -2,6 +2,10 @@
* src/document.c: Fix wrong casting of array pointers, thanks Nick. + * src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c, + src/document.h: + Rename document_sort_by_display_name() into + document_compare_by_display_name(), thanks again Nick.
2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
Modified: trunk/src/document.c =================================================================== --- trunk/src/document.c 2011-04-12 17:17:54 UTC (rev 5713) +++ trunk/src/document.c 2011-04-12 17:20:59 UTC (rev 5714) @@ -3023,7 +3023,7 @@ * * @since 0.21 */ -gint document_sort_by_display_name(gconstpointer a, gconstpointer b) +gint document_compare_by_display_name(gconstpointer a, gconstpointer b) { GeanyDocument *doc_a = *((GeanyDocument**) a); GeanyDocument *doc_b = *((GeanyDocument**) b);
Modified: trunk/src/document.h =================================================================== --- trunk/src/document.h 2011-04-12 17:17:54 UTC (rev 5713) +++ trunk/src/document.h 2011-04-12 17:20:59 UTC (rev 5714) @@ -259,6 +259,6 @@
void document_apply_indent_settings(GeanyDocument *doc);
-gint document_sort_by_display_name(gconstpointer a, gconstpointer b); +gint document_compare_by_display_name(const GeanyDocument **a, const GeanyDocument **b);
#endif
Modified: trunk/src/plugindata.h =================================================================== --- trunk/src/plugindata.h 2011-04-12 17:17:54 UTC (rev 5713) +++ trunk/src/plugindata.h 2011-04-12 17:20:59 UTC (rev 5714) @@ -54,7 +54,7 @@ * @warning You should not test for values below 200 as previously * @c GEANY_API_VERSION was defined as an enum value, not a macro. */ -#define GEANY_API_VERSION 207 +#define GEANY_API_VERSION 208
/** The Application Binary Interface (ABI) version, incremented whenever * existing fields in the plugin data types have to be changed or reordered. @@ -310,7 +310,7 @@ const GdkColor* (*document_get_status_color) (struct GeanyDocument *doc); gchar* (*document_get_basename_for_display) (struct GeanyDocument *doc, gint length); gint (*document_get_notebook_page) (struct GeanyDocument *doc); - gint (*document_sort_by_display_name) (gconstpointer a, gconstpointer b); + gint (*document_compare_by_display_name) (const struct GeanyDocument **a, const struct GeanyDocument **b); } DocumentFuncs;
Modified: trunk/src/plugins.c =================================================================== --- trunk/src/plugins.c 2011-04-12 17:17:54 UTC (rev 5713) +++ trunk/src/plugins.c 2011-04-12 17:20:59 UTC (rev 5714) @@ -112,7 +112,7 @@ &document_get_status_color, &document_get_basename_for_display, &document_get_notebook_page, - &document_sort_by_display_name + &document_compare_by_display_name };
static EditorFuncs editor_funcs = {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.