[gedit/wip/spell-cleanup] spell: rename spell_cb() -> check_spell_cb()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/spell-cleanup] spell: rename spell_cb() -> check_spell_cb()
- Date: Sat, 9 Jan 2016 12:28:09 +0000 (UTC)
commit a99cfe15913ac43902c3222d1f3d6b4d2f777ebb
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Jan 9 13:20:04 2016 +0100
spell: rename spell_cb() -> check_spell_cb()
So the function follows the GAction name.
plugins/spell/gedit-spell-plugin.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/gedit-spell-plugin.c
index 6eacd81..293fdf4 100644
--- a/plugins/spell/gedit-spell-plugin.c
+++ b/plugins/spell/gedit-spell-plugin.c
@@ -245,9 +245,9 @@ set_language_cb (GSimpleAction *action,
}
static void
-spell_cb (GSimpleAction *action,
- GVariant *parameter,
- gpointer data)
+check_spell_cb (GSimpleAction *action,
+ GVariant *parameter,
+ gpointer data)
{
GeditSpellPlugin *plugin = GEDIT_SPELL_PLUGIN (data);
GeditSpellPluginPrivate *priv;
@@ -600,7 +600,7 @@ gedit_spell_plugin_activate (GeditWindowActivatable *activatable)
const GActionEntry action_entries[] =
{
- { "check-spell", spell_cb },
+ { "check-spell", check_spell_cb },
{ "config-spell", set_language_cb },
{ "inline-spell-checker",
inline_checker_activate_cb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]