[geany/geany-plugins] 206b6e: codenav: Drop use of the most obvious deprecated Geany API
Colomban Wendling
git-noreply at xxxxx
Thu Jun 9 09:32:01 UTC 2016
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sat, 20 Feb 2016 17:24:10 UTC
Commit: 206b6e5c19bb041a72f6e0954dddfd1c7a8fc0b4
https://github.com/geany/geany-plugins/commit/206b6e5c19bb041a72f6e0954dddfd1c7a8fc0b4
Log Message:
-----------
codenav: Drop use of the most obvious deprecated Geany API
Modified Paths:
--------------
codenav/src/codenavigation.c
Modified: codenav/src/codenavigation.c
8 lines changed, 4 insertions(+), 4 deletions(-)
===================================================================
@@ -44,10 +44,6 @@ PLUGIN_SET_TRANSLATABLE_INFO(
_( "This plugin adds features to facilitate navigation between source files."),
CODE_NAVIGATION_VERSION, "Lionel Fuentes, Federico Reghenzani")
-/* Declare "GeanyKeyGroupInfo plugin_key_group_info[1]" and "GeanyKeyGroup *plugin_key_group",
- * for Geany to find the keybindings */
-PLUGIN_KEY_GROUP(code_navigation, NB_KEY_IDS)
-
/********************* Data types for the feature *********************/
/* Column for the configuration widget */
@@ -65,6 +61,8 @@ GeanyPlugin *geany_plugin;
GeanyData *geany_data;
GeanyFunctions *geany_functions;
+GeanyKeyGroup *plugin_key_group;
+
static GtkListStore *list_store; /* for settings dialog */
@@ -101,6 +99,8 @@ void plugin_init(GeanyData *data)
{
log_func();
+ plugin_key_group = plugin_set_key_group(geany_plugin, "code_navigation", NB_KEY_IDS, NULL);
+
/* Load configuration */
load_configuration();
/* Initialize the features */
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list