Revision: 2022 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2022&view=re... Author: eht16 Date: 2011-04-12 17:46:15 +0000 (Tue, 12 Apr 2011)
Log Message: ----------- update to API version 208: document_sort_by_display_name -> document_compare_by_display_name
Modified Paths: -------------- trunk/geany-plugins/addons/src/addons.c trunk/geany-plugins/addons/src/ao_doclist.c
Modified: trunk/geany-plugins/addons/src/addons.c =================================================================== --- trunk/geany-plugins/addons/src/addons.c 2011-04-10 17:08:29 UTC (rev 2021) +++ trunk/geany-plugins/addons/src/addons.c 2011-04-12 17:46:15 UTC (rev 2022) @@ -41,7 +41,7 @@ GeanyFunctions *geany_functions;
-PLUGIN_VERSION_CHECK(207) +PLUGIN_VERSION_CHECK(208) PLUGIN_SET_TRANSLATABLE_INFO( LOCALEDIR, GETTEXT_PACKAGE,
Modified: trunk/geany-plugins/addons/src/ao_doclist.c =================================================================== --- trunk/geany-plugins/addons/src/ao_doclist.c 2011-04-10 17:08:29 UTC (rev 2021) +++ trunk/geany-plugins/addons/src/ao_doclist.c 2011-04-12 17:46:15 UTC (rev 2022) @@ -176,7 +176,7 @@ static GtkWidget *menu = NULL; GtkWidget *menu_item; GeanyDocument *current_doc = document_get_current(); - GCompareFunc sort_func; + GCompareFunc compare_func; AoDocListPrivate *priv = AO_DOC_LIST_GET_PRIVATE(data);
if (menu != NULL) @@ -185,12 +185,12 @@ menu = gtk_menu_new();
if (priv->sort_mode == DOCLIST_SORT_BY_NAME) - sort_func = document_sort_by_display_name; + compare_func = document_compare_by_display_name; else - sort_func = NULL; + compare_func = NULL;
ui_menu_add_document_items_sorted(GTK_MENU(menu), current_doc, - G_CALLBACK(ao_doclist_menu_item_activate_cb), sort_func); + G_CALLBACK(ao_doclist_menu_item_activate_cb), compare_func);
menu_item = gtk_separator_menu_item_new(); gtk_widget_show(menu_item);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.