SF.net SVN: geany-plugins:[1604] trunk/geany-plugins/geanyvc/src/geanyvc.c
frlan at users.sourceforge.net
frlan at xxxxx
Mon Sep 27 07:10:18 UTC 2010
Revision: 1604
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1604&view=rev
Author: frlan
Date: 2010-09-27 07:10:18 +0000 (Mon, 27 Sep 2010)
Log Message:
-----------
GeanyVC: Replace deprecated PLUGIN_KEY_GROUP macro
Modified Paths:
--------------
trunk/geany-plugins/geanyvc/src/geanyvc.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.c 2010-09-27 07:09:55 UTC (rev 1603)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2010-09-27 07:10:18 UTC (rev 1604)
@@ -44,7 +44,9 @@
PluginFields *plugin_fields;
GeanyData *geany_data;
GeanyFunctions *geany_functions;
+GeanyPlugin *geany_plugin;
+
PLUGIN_VERSION_CHECK(188);
PLUGIN_SET_TRANSLATABLE_INFO(
LOCALEDIR,
@@ -129,8 +131,8 @@
COUNT_KB
};
-PLUGIN_KEY_GROUP(geanyvc, COUNT_KB)
- GSList *get_commit_files_null(G_GNUC_UNUSED const gchar * dir)
+
+GSList *get_commit_files_null(G_GNUC_UNUSED const gchar * dir)
{
return NULL;
}
@@ -2180,6 +2182,8 @@
init_keybindings(void)
{
/* init keybindins */
+ GeanyKeyGroup *plugin_key_group;
+ plugin_key_group = plugin_set_key_group(geany_plugin, "geanyvc", COUNT_KB, NULL);
keybindings_set_item(plugin_key_group, VC_DIFF_FILE, kbdiff_file, 0, 0,
"vc_show_diff_of_file", _("Show diff of file"), menu_vc_diff_file);
keybindings_set_item(plugin_key_group, VC_DIFF_DIR, kbdiff_dir, 0, 0,
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