gedit r6244 - branches/jessevdk-plugins/gedit/plugins
- From: jessevdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6244 - branches/jessevdk-plugins/gedit/plugins
- Date: Mon, 7 Apr 2008 16:41:41 +0100 (BST)
Author: jessevdk
Date: Mon Apr 7 16:41:41 2008
New Revision: 6244
URL: http://svn.gnome.org/viewvc/gedit?rev=6244&view=rev
Log:
* gedit/plugins/gedit-plugin.[ch]: renamed register_bindings virtual
function to register_binding (conform to other namings)
Modified:
branches/jessevdk-plugins/gedit/plugins/gedit-plugin.c
branches/jessevdk-plugins/gedit/plugins/gedit-plugin.h
Modified: branches/jessevdk-plugins/gedit/plugins/gedit-plugin.c
==============================================================================
--- branches/jessevdk-plugins/gedit/plugins/gedit-plugin.c (original)
+++ branches/jessevdk-plugins/gedit/plugins/gedit-plugin.c Mon Apr 7 16:41:41 2008
@@ -62,7 +62,8 @@
}
static gboolean
-register_bindings (GeditPlugin *plugin, const gchar *language)
+register_binding (GeditPlugin *plugin,
+ const gchar *language)
{
if (!gedit_plugin_is_binding_registered (plugin, language))
plugin->priv->registered = g_list_prepend (plugin->priv->registered,
@@ -92,7 +93,7 @@
klass->create_configure_dialog = create_configure_dialog;
klass->is_configurable = is_configurable;
- klass->register_bindings = register_bindings;
+ klass->register_binding = register_binding;
}
static void
@@ -154,7 +155,7 @@
{
g_return_val_if_fail (GEDIT_IS_PLUGIN (plugin), FALSE);
- return GEDIT_PLUGIN_GET_CLASS (plugin)->register_bindings (plugin, language);
+ return GEDIT_PLUGIN_GET_CLASS (plugin)->register_binding (plugin, language);
}
gboolean
Modified: branches/jessevdk-plugins/gedit/plugins/gedit-plugin.h
==============================================================================
--- branches/jessevdk-plugins/gedit/plugins/gedit-plugin.h (original)
+++ branches/jessevdk-plugins/gedit/plugins/gedit-plugin.h Mon Apr 7 16:41:41 2008
@@ -93,7 +93,7 @@
the GeditPluginClass */
gboolean (*is_configurable)
(GeditPlugin *plugin);
- gboolean (*register_bindings) (GeditPlugin *plugin,
+ gboolean (*register_binding) (GeditPlugin *plugin,
const gchar *language);
/* Padding for future expansion */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]